Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

help with print system time and date for win32

by chuleto1 (Beadle)
on Aug 14, 2002 at 21:07 UTC ( #190234=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://190234]
Approved by myocom
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2023-03-23 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?