It was Tuesday, June 17, 2003 when Van Andel, Robbert took the soap box, saying:
: How do I retrieve the system's current hour and date and assign them to a
: variable?

Perl's builtin function called 'localtime' can help you here.  It
returns a list of information about the current time and date, two
elements of the list are the minute and hour.

>From the command line, type the following:

  perldoc -f localtime

This will give you the information you need to do what you want.

  Casey West

-- 
Shooting yourself in the foot with Unix 
You shoot yourself in the foot 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to