Message
From
04/07/2001 16:21:15
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
To
04/07/2001 00:09:33
General information
Fórum:
Visual FoxPro
Category:
Miscellaneous
ID da thread:
00526579
ID da mensagem:
00526765
Views:
15
>Now, tonight I faced a situation where an error was returned at that line. After a few investigations, I finally found that the transaction started in the last second of the day and ended in the first second of the new day. So, I added a condition to detect if the SECONDS() is greater than gnTime in order to avoid that. But, the weird situation is that this is unlikely to happen as it requires a lot of precision. I had it about 4 times in the first 6 months of 2001. <s>

For another possible alternative, check out the Windows API function:

GetTickCount()

which returns the number of ticks/milliseconds since boot time.
Previous
Responder
Mapa
View