जावास्क्रिप्ट प्राप्त टाइमस्टैम्प
var currentTimeInSeconds=Math.floor(Date.now()/1000); //unix timestamp in seconds
var currentTimeInMilliseconds=Date.now(); // unix timestamp in milliseconds
तिथि करने के लिए टाइमस्टैम्प जावास्क्रिप्ट
function toTimestamp(strDate){
var datum = Date.parse(strDate);
return datum/1000;
}
alert(toTimestamp('02/13/2009 23:31:30'));