Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange Daylight Saving Time?
Message
From
05/04/2001 10:17:07
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
05/04/2001 07:18:54
Jon Nelson
Trader Systems Limited
Reading, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00491818
Message ID:
00492329
Views:
19
>precise the SECONDS() function appear not to recongnise the change to summer time - indicating 23:05 instead of 00:05. The TIME() and the SYS(5) function.
>
>Has anyone else had similar experiences??
>
>I had wondered why two apparently similar functions are provided by VFP - is this 'feature' by design or a bug??

I think this is by design - it relieves you from worrying over "what happens with seconds() if I started this process at 23:58 and it takes five minutes to complete". In such cases, similar functions in other languages would reset to zero, and you could wait endlessly for your task to time the assigned minutes. I remember having to kill a few things done in QBasic because of this.

Therefore, Seconds() in Fox only starts() with seconds after midnight, but then continues on and on, uninterrupted, until you quit.

This is my understanding, and I would also like to be corrected if I'm wrong.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform