What is the default time zone for an XML schema date if not specified?

I am trying to determine what the default timezone is for the date of the XML schema when it is not specific. The part of the time zone at the end is optional and can be omitted:

2013-01-11T16:02:55

I read in this answer that the time zone is not defined unless specified. I read in the comment this question what is the default UTC if not specified. I also read the definition of W3C , and that did not give me a clear answer.

Can any experts tell me where this is indicated?

+5
source share
2 answers

- . , . UTC, , , , -, .

, xs:dateTime, . ISO 8601 + ( ).

, , .

, , - , - - . -07:00 Z UTC.

:

  • (, America/New_York). . , .

  • "" , . . , 7:00 . , - "" .

  • - , .

+8

XSD 1.0, . 3.2.7 ( " ", , - ". , UTC , - (, ). 3.2.7.4 ( ), dateTime , () 2000-01-20T12: 00: 00 , , , , 2000-01-20T12: 00: 00Z.

XSD 1.1 , .

, ISO 8601.

, , , . XSD , .

+2

Source: https://habr.com/ru/post/1532558/


All Articles