Sample date formats


The following table lists sample date timestamps along with a corresponding date format to help you correlate what each date format means.

This information will help you when you are creating a custom date format or a new data pattern.

Date formats

Sample date

Date format

Tue May 13 16:30:00

EEE MMM dd HH:mm:ss

Tue May 13 2014 23:30:00.789

EEE MMM dd yyyy HH:mm:ss.SSS

Tue May 13 16:30:00 -0800 2014

EEE MMM dd HH:mm:ss Z yyyy

13 May 2014 23:50:49,999

dd MMM yyyy HH:mm:ss,SSS

May 13, 2014 11:30:00 PM PST

MMM dd, yyyy hh:mm:ss a z

23:30:00

HH:mm:ss

2014/05/13 16:30:59.786

yyyy/MM/dd/ HH:mm:ss.SSS

For more about date formats, see the following information:

http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html

Related topics

Sample data patterns

Sample subpatterns

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*