Page 1 of 1

Date() help [SOLVED]

Posted: Wed Oct 19, 2005 12:49 pm
by J_Iceman05
In PHP you can get the number of seconds from the Unix Epoch,
ie. date('U', $date_variable) or mktime($hour, $minute, $second, $month, $day, $year).
Is there something similar to this in the javascript date function where i can find the number of seconds from a certain time, or is there a specific way to formate that?
Thanks in advance for your responses.

edit: lol I'm retarded, i kept on working on... and i finally solved it. it's just a 'countup' problem. I don't know why i didn't realize it at the start. Thanks anyways ^^;