intuited has asked for the wisdom of the Perl Monks concerning the following question:
I've been using this for a while, I find it useful for generating RFC-3339-compliant timestamps.
However I'm at a bit of a loss for a way to get it to parse dates like
Thu Jan 21 17:13:27 2010 -0400These can be parsed by the str2time() function in Date::Parse, which returns a Unix timestamp (ie seconds since epoch). However there's no readily apparent way to enter a Unix timestamp into Date::Manip's function set. This in itself is a pretty serious flaw in the module.. unless I'm missing something?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can Date::Manip parse a unix timestamp?
by ambrus (Abbot) on May 05, 2010 at 08:37 UTC | |
by SBECK (Chaplain) on May 05, 2010 at 15:31 UTC | |
by ambrus (Abbot) on Oct 28, 2015 at 11:09 UTC |