1DateTime::Format::XSD(3U)ser Contributed Perl DocumentatiDoanteTime::Format::XSD(3)
2
3
4
6 DateTime::Format::XSD - Format DateTime according to xsd:dateTime
7
9 my $str = DateTime::Format::XSD->format_datetime($dt);
10
12 XML Schema defines a usage profile which is a subset of the ISO8601
13 profile. This profile defines that the following is the only possible
14 representation for a dateTime, despite all other options ISO provides.
15
16 YYYY-MM-DD"T"HH:MI:SS(Z|[+-]zh:zm)
17
18 This module is a subclass of DateTime::Format::ISO8601, therefore it
19 will be able to parse all other ISO options, but will only format it in
20 this exact spec.
21
23 DateTime, DateTime::Format::ISO8601, The XML Schema speficitation.
24
26 Daniel Ruoso "daniel@ruoso.com"
27
29 Please submit all bugs regarding "DateTime::Format::XSD" to
30 "bug-datetime-format-xsd@rt.cpan.org"
31
33 This library is free software, you can redistribute it and/or modify it
34 under the same terms as Perl itself.
35
36
37
38perl v5.32.1 2021-01-27 DateTime::Format::XSD(3)