in reply to Converting dates

The are many ways as usual. One example:

use Time::localtime; $tm = localtime($time); printf("Dateline: %02d:%02d:%02d-%04d/%02d/%02d\n", $tm->hour, $tm->min, $tm->sec, $tm->year+1900, $tm->mon+1, $tm->mday);

This gives the time in your local timezone. If you rather have GMT use the gmtime function.

Bless the Perl Cookbook. If you perform a Super Search you will find many examples. Also on CPAN there are many modules to work with date/times.

Hope this helps.