16.00 - Java Simple Date Format - Teradata Studio

Teradata Studio User Guide

prodname
Teradata Studio
vrm_release
16.00
created_date
March 2017
category
User Guide
featnum
B035-2041-126K
The Java Simple Data format uses the following symbolic notation for Date formatting:
Symbol Definition Example
G Era "GG"-> "AD"
y Year "yy" -> "033 "yyyy" -> "20033
M Month "M" -> "73 "M" -> "123 "MM" ->→ "December"
d Day in month "d" -> "33 "dd" -> "033
E Day in week "EEE" -> "Tue" "EEEE" -> "Tuesday"
D Day in year (1-365 or 1-364) "D" -> "653 "DDD" -> "0653
F Day of week in month (1-5) "F" -> "13
w Week in year (1-53) "w" -> "73
W Week in month (1-5) "W" -> "33