mfaqueiroz
Registered User.
- Local time
- Yesterday, 20:14
- Joined
- Sep 30, 2015
- Messages
- 125
Hi 
I'm calculating the difference of 4 seconds before my date register,
but i'm having some troubles when my date is "dd-mm-yyyy 00:00:00" or "dd-mm-yyyy 00:00:04"
It brokes!
Do you have any suggestion?
I thought that can be an good ideia use sql, but i'm stuck :banghead:
there ir my code:
set Table1= dbs.OpenRecordset (" Select Tab1.[ID], Tab1[date] from tab1 ;", DB_OPEN_DYNASET)
Date=Table1.Fields(2).Value
DateDiference=DateDiff("s",-4,Date)
Thank yoou all for your knowledge sharing and help

I'm calculating the difference of 4 seconds before my date register,
but i'm having some troubles when my date is "dd-mm-yyyy 00:00:00" or "dd-mm-yyyy 00:00:04"
It brokes!
Do you have any suggestion?
I thought that can be an good ideia use sql, but i'm stuck :banghead:
there ir my code:
set Table1= dbs.OpenRecordset (" Select Tab1.[ID], Tab1[date] from tab1 ;", DB_OPEN_DYNASET)
Date=Table1.Fields(2).Value
DateDiference=DateDiff("s",-4,Date)
Thank yoou all for your knowledge sharing and help