I was trying to use a graph plugin which only accepts input dates of format “1196463600000” which i guess is epoch timestamp. but my date format is in the format “2005-01-01” , I have searched a lot to find a way to convert the normal time format to epoch, bt could nt find any.. is the time conversion possible using javascript ?? could any one suggest a good method to do it??
ive tried new Date('2005.01.01').getTime() / 1000; bt it did nt work
There are two errors in your example:
Fixed example: