Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to synchronize my date time with my server?
Message
 
To
14/11/1996 23:36:56
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00012305
Message ID:
00012308
Views:
34
The external solution is to run NET TIME \\server /SET The internal one is a bit more work... You need some kind of TCP/IP connection (This could be a Winsock.ocx) and connect to the server at port 13 which is the daytime port. This will return a string with the text "Thursday, November 14, 1996 20:39:59" and you can parse it that way. This assumes you have the day/time service (Sometimes called simple tcp/ip services) turned on at the server... If you want to make sure it is turned on, try the following... Go to start menu and choose run Type TELNET.EXE Choose Connect menu and Remote system option Type in the name of your server for Host Name Type in daytime (or 13) for the port Leave termtype at VT100 Click connect button.. you should see some text appear and a dialog stating you've been disconnected. Enjoy, -= Ken =- PS: Thanx to those that turned on the listserv again.. now I can spend even more time reading mail :-) -----Original Message----- From: foxpro@transformation.com [SMTP:foxpro@transformation.com] Sent: Thursday, November 14, 1996 8:27 PM To: kenti@oz.net Subject: Visual FoxPro - How to synchronize my date time with my server? [12305] I have an application that runs on an NT server using Visual FoxPro 5.0. I need that application to be synchronized with my main NT server. Is there something I should do from my application or it will be better to do it externally? I would prefer a way to do it in the application because I will be able to apply the synchronization each half hour in this always up and running application.
kenti@oz.net
kenti@msn.com
kenti001@aol.com
74441.1210@compuserve.com
Microsoft Certified Professional - Visual FoxPro
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform