Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SECONDS() returns wrong value in FPW 2.6
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
SECONDS() returns wrong value in FPW 2.6
Miscellaneous
Thread ID:
00363372
Message ID:
00363372
Views:
58
I can't believe this!
On my workstation SECONDS() returns a value that is different in FPW 2.6 than in FPD 2.6/VFP 6.0.
The TIME() function returns the same values FPD, FPW, or VFP. Translating TIME() return into seconds shows that SECONDS() value in FPW is wrong:
?time(),padl(allt(str(int(seco()/3600),2)),2,'0')+':'+ ;
        padl(allt(str(int(mod(seco(),3600)/60),2)),2,'0')+':'+ ;
        padl(allt(str(mod(mod(seco(),3600),60),2)),2,'0')
displays:
   15:08:32 15:08:33 VFP - difference  1
   15:08:33 <b>15:07:21 FPW - difference 72</b>
   15:08:35 15:08:35 FPD - difference  0
I tested this on a number of WS, the above discrepancy happens only on some.

Power off/ power on, does not fix the problem.
Using GPLIB library to syncronize the WS with the server, does not fix the problem.

The network is Novell 5, stations are from 486 to Pentium III with Win 98 or Win 3.1, all WS are using MS client.

Can anybody test this, or may be this is a known issue?

Thank you,
Doru
Doru
Next
Reply
Map
View

Click here to load this message in the networking platform