[Omaha.pm] Perl: datetime stamps (2006-09-28T18:38:07.97-05:00)

Sean Baker pbaker at omnihotels.com
Fri Sep 29 06:48:19 PDT 2006


> Here's a little Perl routine to kick out datetime stamps in the OTA
format. If anyone has a better/tighter/faster Perl routine, do tell. :)

The OTA uses xs:dateTime.  So any one-upness just needs to conform to
this:

http://www.w3.org/TR/NOTE-datetime

Class::Date and Gmtime perhaps? Hmmm.....

Sean Baker


More information about the Omaha-pm mailing list