Date Time to Second

Monsora83

Registered User.
Local time
Yesterday, 20:27
Joined
May 16, 2011
Messages
41
Hi All,

Im trying to convert a value like 8/31/2012 2:36:14pm into just seconds.

Any suggestions? Most what I find in google only tells me how to convert the hours and not the date as well.

Thanks
 
Is it based on an actual date not a date period?
 
OK what about this type of Expression in a Query

Expr1: Hour([StoredDate])*3600+Minute([StoredDate])*60+Second([StoredDate])
 
Ah I found something that got me what I needed.

DateDiff("s", Me.Time1, Me.Time2)

Thanks
 

Users who are viewing this thread

Back
Top Bottom