Timeline EventSourceJSON jsDate
From SIMILE Widgets
You can use Date() in the JSON file instead of specifying a string.
{ "events" : [ { "start": Date(), "end": Date(), "durationEvent": true, "title": "whatever", "description": "test", "color": "blue", "link": "http://google.com", }, { "start": "Jun 22 1986 07:50:00 GMT+0530", "startLatest": "Jun 30 1986 17:50:00 GMT+0530", "title": "however", "description": "some text here", "color": "red", "link": "http://yahoo.com", "icon": "dark-red-circle.png" }], "dateTimeFormat": "Gregorian" }
Any other variables (initialized in JS before the source is loaded) can also be used. The advantage, parsing the dates is much faster.

