I need to be able to convert a regular date 01/20/2000 into Epoch time. Does anyone know the code to do this, or a place I can find a dll that I can call from by VB app?
Thanks,
David
Printable View
I need to be able to convert a regular date 01/20/2000 into Epoch time. Does anyone know the code to do this, or a place I can find a dll that I can call from by VB app?
Thanks,
David
Epoch from what date? DUH!
------------------
DiGiTaIErRoR
What is epoch time? can you give an example?
------------------
Marty
Why is it called lipstick if you can still move your lips?
Epoch Time is the Number of Seconds since Midnight of a Start Date, usually 01/01/1970, so you should just be able to use the DateDiff() Function, ie.
lEpochTime = DateDiff("s", #1-Jan-1970#, Now)
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]