Skip to content

Instantly share code, notes, and snippets.

@hawkmaster
Created February 12, 2014 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hawkmaster/8955548 to your computer and use it in GitHub Desktop.
Save hawkmaster/8955548 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<link href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css" />
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.min.js"></script>
<script src="http://www.hawkstest.hostoi.com/jquery-ui-timepicker-addon.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<div id="datepicker"></div>
</body>
</html>
$(function() {
$( "#datepicker" ).datepicker({ dateFormat: "dd.mm.yy" });
$( "#datepicker" ).datepicker("setDate", "24.08.2014");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment