in reply to Re: Perl date conversion
in thread Perl date conversion

My message is incorrect, I want to have this output from an input of 1300483666: 2011 03 18 05 17      1 and instead the code returns: 2011 03 18 05 21      1 Sorry for the mistake. Can you help? I suppose I can make the gmtime($_)be like gmtime($_-14400) but I thought there might be a cleaner way to resolve the date in input to my local time (EST or EDT whatever it happens to be). Can I do without the gmtime all together? Hope you can help. Thanks

Replies are listed 'Best First'.
Re^3: Perl date conversion
by gio001 (Acolyte) on Mar 23, 2011 at 17:58 UTC
    I replaced gmtime with localtime and it seems to work properly. Thanks Any advice anyway?
      That's correct.