Re: SNTP
From: Patrice (nobody_at_nowhere.com)
Date: 08/19/04
- Next message: Bob Barrows [MVP]: "Re: Simple XML Example"
- Previous message: Debbie Davis: "CDO message with CC or BCC fails"
- In reply to: AlexM: "SNTP"
- Next in thread: AlexM: "Re: SNTP"
- Reply: AlexM: "Re: SNTP"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 19 Aug 2004 16:52:33 +0200
I would rather configure the server so that it is synchronized with a source
(either external or an internal one that is itself synchronized), you'll
have then just to get the current date/time on this server.
If for some reason you want to query a remote server each time, you could
use the "net time" command (using WScript.Shell).
You may found also the win32 api function at msdn.microsoft.com in which
case you could create a wrapper for use from VBScript.
Is avoiding solution 1 a requirement ?
Patrice
-- "AlexM" <me@here.com> a écrit dans le message de news:edE4lWfhEHA.3320@TK2MSFTNGP11.phx.gbl... > Hello All, > > Is there any way to pull the date via SNTP from a timeserver with ASP / > VBscript? > > Thank you, > Alex >
- Next message: Bob Barrows [MVP]: "Re: Simple XML Example"
- Previous message: Debbie Davis: "CDO message with CC or BCC fails"
- In reply to: AlexM: "SNTP"
- Next in thread: AlexM: "Re: SNTP"
- Reply: AlexM: "Re: SNTP"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|