Parsing & Formatting
- HTTP dates:
print ' ', DateTime::Format::HTTP->format_datetime
( DateTime->today );
print ' ', DateTime::Format::HTTP->parse_datetime
( 'Tue, 28 Jun 2005 13:52:00 GMT' );
- run the script - http
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 |