Perl DateTime Project Perl DateTime Project 29

Parsing & Formatting

print ' ', DateTime::Format::HTTP->format_datetime
               ( DateTime->today );
print ' ', DateTime::Format::HTTP->parse_datetime
               ( 'Tue, 28 Jun 2005 13:52:00 GMT' );
Copyright © 2005-2006 David Rolsky