What is the meaning of T
in this datetime pattern ?
yyyy\'-\'MM\'-\'dd\'T\'HH\':\'mm\':\'ss 2011-06-14T04:12:36
It just shows the start of the Time component in a standard ISO 8601 date time string. Wikipedia has a detailed page about this standard format.
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?
it means "Time". this has been asked and answered a lot. see http://www.w3.org/TR/NOTE-datetime.html
In ISO 8601 (UTC) T is used to designate the Time component. See "Combined date and time representations" in http://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations
Find out about UTC here: http://en.wikipedia.org/wiki/Coordinated_Universal_Time.
[T] is time designator for ISO 8601 format of <date>T<time>
.
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.