|
-
Jan 24th, 2000, 01:39 AM
#1
Thread Starter
New Member
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
-
Jan 24th, 2000, 03:37 AM
#2
So Unbanned
Epoch from what date? DUH!
------------------
DiGiTaIErRoR
-
Jan 24th, 2000, 05:18 AM
#3
What is epoch time? can you give an example?
------------------
Marty
Why is it called lipstick if you can still move your lips?
-
Jan 24th, 2000, 05:47 AM
#4
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]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|