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 version 0.4
10
12 my $str = DateTime::Format::XSD->format_datetime($dt);
13
15 XML Schema defines a usage profile which is a subset of the ISO8601
16 profile. This profile defines that the following is the only possible
17 representation for a dateTime, despite all other options ISO provides.
18
19 YYYY-MM-DD"T"HH:MI:SS(Z|[+-]zh:zm)
20
21 This module is a subclass of DateTime::Format::ISO8601, therefore it
22 will be able to parse all other ISO options, but will only format it in
23 this exact spec.
24
26 DateTime, DateTime::Format::ISO8601, The XML Schema speficitation.
27
29 Please submit all bugs regarding "DateTime::Format::XSD" to
30 "bug-datetime-format-xsd@rt.cpan.org"
31
33 This software is copyright (c) 2004 by Daniel Ruoso.
34
36 This library is free software, you can redistribute it and/or modify it
37 under the same terms as Perl itself.
38
40 • Daniel Ruoso <daniel@ruoso.com>
41
42 • Timothy Legge <timlegge@gmail.com>
43
45 This software is copyright (c) 2021 by Daniel Ruoso.
46
47 This is free software; you can redistribute it and/or modify it under
48 the same terms as the Perl 5 programming language system itself.
49
50
51
52perl v5.34.0 2021-07-22 DateTime::Format::XSD(3)