Joe McMahon

NAME

SOAP::DateTime - Support for converting dates to xsd:dateTime format

SYNOPSIS

  use SOAP::DateTime;
  my $soap_datetime = ConvertDate($arbitrary_date);

DESCRIPTION

SOAP::DateTime converts dates into the format required by the xsd:dateTime type.

USAGE

See the synopsis for an example. Date parsing is handled with Date::Manip, so the date format used as input is ridiculously flexible.

BUGS

None known.

SUPPORT

Contact the author for support.

AUTHOR

        Joe McMahon
        CPAN ID: MCMAHON
        mcmahon@ibiblio.org
        http://a.galaxy.far.far.away/modules

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO

perl(1), Date::Manip(1).

ConvertDate($date)

Accepts the date (in any Date::Manip-supported format) and returns a date in the format YYYY-MM-DDTHH:MM:SS; so, for example, December 14 1984 12:14:37 would be 1984-12-14T12:14:37.