Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Over midnight causes bug
Message
From
04/07/2001 00:40:38
 
 
To
04/07/2001 00:36:32
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00526579
Message ID:
00526581
Views:
19
>Hi Michel,
>
>SECONDS() only returns the number of seconds passed since midnight.
>
>Using DATETIME() should solve this problem.
>
>
>dtStartTime   = {04/07/2001 11:59:59 PM}
>dtEndTime     = {05/07/2001 12:00:01 AM}
>nTotalSeconds = dtEndTime - dtStartTime
>
>
>The above example will return 2 seconds.
>
>Please note that I'm using a BRITISH date format.

Yes, I thought about that after I sent this message. Thanks <s>
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform