// JavaScript Document
$(document).ready(
    function() {
		var now = new Date();
		var hour        = now.getHours();
		var minute      = now.getMinutes();
		var second      = now.getSeconds();
		var monthnumber = now.getMonth() + 1;
		var monthday    = now.getDate();
		var year        = now.getFullYear();

	var  t_dis = ' <b>Time :</b> ';
	if (minute < 10)
	{
		minute = "0" + minute
	}
	t_dis += hour + ":" + minute + " ";

	if(hour > 11)
	{
		t_dis += "PM";
	} 
	else 
	{
		t_dis += "AM";
	}
	

        $('#datepicker').html( monthday + " / "+ monthnumber + " / " + year + t_dis);
    }
);
