Anyone know how to convert EPOCH seconds to a format
like 0000-00-00 00:00:00
I have reviewed several modules (Date::Calc, HTTP:ate) and can't seem to find anything that even comes close.
The only solution I have found to convert this mess is:
my $newtime = scalar localtime($epoch_time);
But this won't work in the situation I am in.
Any advice or help whould be greatly appreciated.
like 0000-00-00 00:00:00
I have reviewed several modules (Date::Calc, HTTP:ate) and can't seem to find anything that even comes close.
The only solution I have found to convert this mess is:
my $newtime = scalar localtime($epoch_time);
But this won't work in the situation I am in.
Any advice or help whould be greatly appreciated.