SOAP::DateTime - Support for converting dates to C format


SOAP-DateTime documentation  | view source Contained in the SOAP-DateTime distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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

USAGE

Top

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

BUGS

Top

None known.

SUPPORT

Top

Contact the author for support.

AUTHOR

Top

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

COPYRIGHT

Top

SEE ALSO

Top

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.


SOAP-DateTime documentation  | view source Contained in the SOAP-DateTime distribution.