asptoday_discuss thread: calculate time from 1 Jan, 1970
Message #1 by "vandana" <v_agrawaal@h...> on Sat, 12 Jan 2002 05:19:47
|
|
Hi,
Is there any function in ASP or VBScript to caluclate time in seconds from
1 Jan, 1970 to the current time.
Thanks
vandana
Message #2 by Aaron Bull <aaronb@a...> on Sun, 13 Jan 2002 00:23:45 +1100
|
|
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C19B6C.5EF7CE1A
Content-Type: text/plain
Look in the bof for datediff
Response.write dateDiff("s","1/1/1970",now())
Or something similar
Aaron
-----Original Message-----
From: vandana [mailto:v_agrawaal@h...]
Sent: Saturday, 12 January 2002 4:20 PM
To: ASPToday Discuss
Subject: [asptoday_discuss] calculate time from 1 Jan, 1970
Hi,
Is there any function in ASP or VBScript to caluclate time in seconds from
1 Jan, 1970 to the current time.
Thanks
vandana
|