chuleto1 has asked for the wisdom of the Perl Monks concerning the following question:

Monks of the Monastary: Would any of you have a snippet for printing the system time and date on a Win32 System
  • Comment on help with print system time and date for win32

Replies are listed 'Best First'.
Re: help with print system time and date for win32
by myocom (Deacon) on Aug 14, 2002 at 21:12 UTC

    perldoc -f localtime will reveal the details, but print scalar localtime; will do what you want, regardless of platform.

    "One word of warning: if you meet a bunch of Perl programmers on the bus or something, don't look them in the eye. They've been known to try to convert the young into Perl monks." - Frank Willison