Click to See Complete Forum and Search --> : How to get the time since 1/1/1970 (like "localtime" in C) ?


November 29th, 1999, 07:59 AM
I want to get the number of seconds elapsed since 1/1/1970
(like "localtime" in C runtime library).

RobDax
November 29th, 1999, 09:07 AM
Dim nNumSeconds

nNumSeconds = DateDiff("s", DateValue("01/01/1970 00:00:00"),Now)