Singsys blog

How to get a Timestamp in JavaScript

 Timestamp JavaScript

Method getTime() returns the total number of milliseconds between midnight of January 1, 1970 and the date specified by you. The often requirement to calculate with unix timestamp.

(more…)