javascript date get milliseconds since 1970 code example
Example: javascript get Time
var d=new Date();
d.getTime();//I'm in milliseconds, divide by 1000 for seconds
var d=new Date();
d.getTime();//I'm in milliseconds, divide by 1000 for seconds