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

后端 未结 6 1077
萌比男神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 06:40

    Without some context, that's hard to answer.

    However, according to the SimpleDateFormat JavaDoc 'T' is meaningless i.e. just a string literal.

    This is supported by the fact the T is visible in your output string. Perhaps it means time?

提交回复
热议问题