Link to the USGS Home Page
image
image
image

Appendix B: Valid date format strings.


Date masks:
YYYY = 4 digit year representation (example: 1998)
MM = 2 digit month representation; if month digit is less then 10 always precede value with 0 (example: 08 = August)
MMM = 3 character month representation (examples: FEB = February, MAR = March, etc.)
DD = 2 digit day representation; if day digit is less then 10 always precede value with 0 (example: 01 = the first day of the month)
JUL = Julian day or day of the year (example: 1998213 = August 1, 1998, August 1st being the 213th day of 1998)
Support Formats:
YYYY-MM-DD (1998-08-01 = August 1, 1998)
YYYYMMDD (19750619 = June 19, 1975)
DDMMYYYY (10021972 = February 10, 1972)
DDMMMYYYY (01JAN2001 = January 1, 2001)
MMDDYYYY (09302002 = September 30, 2002)
YYYYJUL (2005205 = July 24, 2005)