Convert Access Date to Unix Timestamp

rtdc

Registered User.
Local time
Today, 19:27
Joined
Feb 27, 2007
Messages
55
Hi

Anyone out there have some code to convert a access now() field to a unix timestamp?

Cheers.
 
What does a Unix timestamp look like?
 
Should be the time in seconds since midnight of January 1, 1970

Theres probably an easy way of doing this but I can't see at the moment.
 
Should be able to use the DateDiff() function, e.g.

y = datediff("s", #1/1/1970#, now())
? y
1199871014

Bob
 
Nice one Bob that did the job loverly, thanks.
 

Users who are viewing this thread

Back
Top Bottom