Dear All,
i am using following calendar,
http://code.google.com/p/jquery-events-calendar/downloads/detail?name=eventCalendar_v042.zip&can=2&q=
for my work,
In this they used date value as "1356877050000" for JSON parser to get the date of 30th DEC 2012 19:47
i checked with some other blogs, this value (1356877050000) forms from microtime , but i don;t know by which format of date they getting this value
Another key :
echo '[';
$separator = "";
$days = 16;
echo ' { "date": "1314579600000", "type": "meeting", "title": "Test Last Year", "description": "Lorem Ipsum dolor set", "url": "http://www.event3.com/" },';
echo ' { "date": "1377738000000", "type": "meeting", "title": "Test Next Year", "description": "Lorem Ipsum dolor set", "url": "http://www.event3.com/" },';
for ($i = 1 ; $i < $days; $i= 1 + $i 2) {
echo $separator;
$initTime = (intval(microtime(true))1000) + (86400000 * ($i-($days/2)));
echo ' { "date": "'; echo $initTime; echo '", "type": "meeting", "title": "Project '; echo $i; echo ' meeting", "description": "Lorem Ipsum dolor set", "url": "http://www.event1.com/" },';
}
From this any Key ?
its making 24 hrs to find out )
Thanks
masterwin