dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #34985
Using NVD3: Converting DHIS2 dates to Unix Time Stamp format
Hi Devs
I'm trying to set up a line chart using NVD3 (similar to example
http://nvd3.org/examples/cumulativeLine.html) which requires JSON date
values in the Unix Time Stamp format. Has anyone solved this date format
issue before? Source data coming from DHIS2 is returned as 2012-06-27 00:00:
00 while the expected Unix Time Stamp format value is 1340755200000.
Greg
--
*Health Information Systems Program - South Africa*
*- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - - - *
Mobile : 073 246 2992
Landline: 021 554 3130
Fax: 086 733 8432
Skype: gregory_rowles
Follow ups