Date() help [SOLVED]

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
J_Iceman05
Forum Commoner
Posts: 72
Joined: Wed Aug 03, 2005 10:52 am
Location: Las Vegas, NV

Date() help [SOLVED]

Post 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 ^^;
Post Reply