Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Over midnight causes bug
Message
De
04/07/2001 00:40:38
 
 
À
04/07/2001 00:36:32
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00526579
Message ID:
00526581
Vues:
20
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform