|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
How to Parse an RFC 822 style date with Time::Piece?by jaldhar (Vicar) |
| on Feb 19, 2003 at 19:43 UTC ( #236782=perlquestion: print w/ replies, xml ) | Need Help?? |
|
jaldhar has asked for the
wisdom of the Perl Monks concerning the following question:
I'm using the excellent Time::Piece module and it is working well for me except for one thing. I need to parse an RFC 822 style Date with strptime. What I want is something like: but apparently %z is a GNUism and not supported by the module. So is there an alternate format string I can use instead? Or if worst comes to worst, is there another module that can convert an RFC 822 date into a comparable quantity? --
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||