yyyy'-'MM'-'dd'T'HH':'mm':'ss - What is the meaning of 'T' here?

后端 未结 6 959
萌比男神i
萌比男神i 2021-02-02 06:37

What is the meaning of T in this datetime pattern ?

yyyy\'-\'MM\'-\'dd\'T\'HH\':\'mm\':\'ss 2011-06-14T04:12:36

6条回答
  •  别跟我提以往
    2021-02-02 07:06

    It's from ISO 8601 which specifies a standard timestamp format:

    The character [T] shall be used as time designator to indicate the start of the representation of the time of day component in these expressions.

提交回复
热议问题