http://qs321.pair.com?node_id=548471

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

I have to convert local time to a time zone and then put it back to the database it the date format mm/dd/yyyy hr:min:sec. I am trying to do the date conversion using time() and getting the epoch seconds and subtracting the number of hours depending on the time zone. The result is in seconds so I am looking for way to convert it back to the original format. Thanks