simpledateformat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
时间: 2024-05-27 17:14:12 浏览: 960
SimpleDateFormat格式化日期
The format "yyyy-MM-dd'T'HH:mm:ss.SSSXXX" represents a date and time string in the following format:
- yyyy: Year (4 digits)
- MM: Month (2 digits)
- dd: Day (2 digits)
- 'T': Separator between date and time
- HH: Hour (24-hour format, 2 digits)
- mm: Minute (2 digits)
- ss: Second (2 digits)
- SSS: Millisecond (3 digits)
- XXX: Time zone offset in ISO 8601 format (e.g. +02:00)
For example, the string "2022-01-01T12:34:56.789+02:00" represents the date and time January 1st, 2022 at 12:34:56.789 in the time zone with an offset of +02:00.
阅读全文