in reply to Re: simple question
in thread simple question

just to second esskars hint:     perldoc -f localtime
will point you to a much smoother way of determining time and date.