yu yang Jian
yu yang Jian

Reputation: 7171

What does D mean in HTML DateTime Format "YYYY-MM-DDThh:mmTZD"

http://prasanjitmandal.blogspot.tw/2010/06/sharepoint-datetime-format-conversions.html

The above link says Z indicates the Coordinated Universal Time (UTC),

but what does last D mean in

YYYY-MM-DDThh:mmTZD

(I refer to the very last D; not the two DD which stand for day-of-month.)

Upvotes: 2

Views: 104

Answers (2)

Rahul Tripathi
Rahul Tripathi

Reputation: 172458

D stands for designator. You can get more explanation here. So it stands for Time Zone Designator

 YYYY = four-digit year
 MM   = two-digit month (01=January, etc.)
 DD   = two-digit day of month (01 through 31)
 hh   = two digits of hour (00 through 23) (am/pm NOT allowed)
 mm   = two digits of minute (00 through 59)
 ss   = two digits of second (00 through 59)
 s    = one or more digits representing a decimal fraction of a second
 TZD  = time zone designator (Z or +hh:mm or -hh:mm)

Upvotes: 1

Cliff Ribaudo
Cliff Ribaudo

Reputation: 9039

'TZD' means Time Zone Designator. See this link for an explanation: Explanation at w3schools

Upvotes: 1

Related Questions