Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query time from server?
Message
From
24/08/2009 18:24:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Query time from server?
Miscellaneous
Thread ID:
01420325
Message ID:
01420325
Views:
141
I know NT-based systems (NT4, Win2K, WinXP..) has NetRemoteTOD() to allow me to get system date from another computer on a network. However this isn't available in Win95/98/Me, so on these platforms I'm stuck. (we've got some clients that still use Win95/98 workstations and making them upgrade to more recent OS would be next to impossible) Yes, I'm aware that I could be querying various time servers on the Internet -- but some of those customers with older PCs don't have an Internet connection. Any ideas?

And yes... I've tried the old trick of creating a file on the network drive and checking file timestamp -- and much to my dismay discovered that under various circumstances the timestamp used is based on the time/date of the workstation (which of course could be suspect as it could easily be changed) rather than the fileserver (which would be a bit less prone to tampering).

And yes... I know I can get the time/date info from a SQL server (of course, if you've got someone still using Win95/98/Me and not have a live Internet connection, what's the probablity that they're running a SQL server...)
Next
Reply
Map
View

Click here to load this message in the networking platform