ePages 6.10 - DE_EPAGES/XML/API/SOAPDateTimeFormatXML.pm

Package DE_EPAGES::XML::API::SOAPDateTimeFormatXML

Implements a DateTime parser for SOAP.
Example format string: '2005-12-01T12:52:00'

Base
DE_EPAGES::XML::API::DateTimeFormatXML

Functions

parse_datetime

parse_datetime

Parses a date/time format string according to ISO8601, for example: YYYY-MM-DDThh:mm:ss(Z|[+-]hh:mm). The special date '0001-01-01T00:00:00.0000000+01:00' is interpreted as undef.

Syntax
$DateTime = $Parser->parse_datetime( $String );
Input
$String (string)
string containing date and time
Return
$DateTime (object)
a DateTime object