Take a look at Date::Pcalc - should do everything you need. HTH
Dave Kazatsky Senior Middleware Administrator W. (908) 575-6947 C. (973) 865-8106 |---------+-------------------------------------------------> | | [EMAIL PROTECTED] | | | Sent by: | | | [EMAIL PROTECTED]| | | veState.com | | | | | | | | | 09/09/2004 04:16 PM | | | | |---------+-------------------------------------------------> >----------------------------------------------------------------------------------------------| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Help with date and time format | >----------------------------------------------------------------------------------------------| I need to get a date and time format into 3 different variables: Date format: 2004-09-09 # $date Time format: 9:00 or 15:00, etc # $time_now and the time 1 hour ago. So it it's 4 in the afternoon. I need. Time 2 format: 15:00 # $time_hour_ago Any help greatly appreciated. Allan _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If you are not the intended addressee, please notify the sender immediately and delete this message. _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs