Not running NT at the moment (or on the lan) but I believe that the command
        net time \\machinename
will return what you're looking for.
You can run it using qx and parse the response.

I wrote a short script that gets time from machines on our network and
compares them to the local machine time so that we could determine which
clocks didn't get updated to DST.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Steve
Thompson
Sent: Saturday, March 03, 2001 9:12 AM
To: [EMAIL PROTECTED]
Subject: date and time operators


Is there a quick and easy way to grab the current date via activeperl on a
windows machine?

Regards,

ST.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to