Articles on: Function Reference

Date Format

Date Format



To change the date format of a field, click on "Format options" located on the right side of the field.

To customize the presentation of date values, specify the desired format. Only set this if you need formatted date values, such as for CSV files.

When a format is applied, the column will be treated as text in Excel and will no longer be recognized as a date. To revert to the default format, simply clear the format field.

Here are some common date formats and their outputs:

YYYY/MM/DD => 2024/06/26
DD.MM.YYYY => 26.06.2024
MM-DD-YYYY => 06-26-2024
YYYY-MM-DD => 2024-06-26
DD/MM/YYYY => 26/06/2024
DD-MM-YYYY => 26-06-2024
YYYY.MM.DD => 2024.06.26
D MMM YYYY => 26 Jun 2024
MMM D, YYYY => Jun 26, 2024
MMMM D, YYYY => June 26, 2024

You can also combine these date formats with text inside brackets, such as "[Today is] dddd". To simplify editing, our app provides an instant "Date Preview" feature:


If you need more complex formats, you can use the following "tokens" to create your own custom date format:

Month


TokenOutput
M1 2 ... 11 12
Mo1st 2nd ... 11th 12th
MM01 02 ... 11 12
MMMJan Feb ... Nov Dec
MMMMJanuary February ... November December


Quarter


TokenOutput
Q1 2 3 4
Qo1st 2nd 3rd 4th


Day of Month


TokenOutput
D1 2 ... 30 31
Do1st 2nd ... 30th 31st
DD01 02 ... 30 31


Day of Year


TokenOutput
DDD1 2 ... 364 365
DDDo1st 2nd ... 364th 365th
DDDD001 002 ... 364 365


Day of Week


TokenOutput
d0 1 ... 5 6
do0th 1st ... 5th 6th
ddSu Mo ... Fr Sa
dddSun Mon ... Fri Sat
ddddSunday Monday ... Friday Saturday


Day of Week (Locale)


TokenOutput
e0 1 ... 5 6


Day of Week (ISO)


TokenOutput
E1 2 ... 6 7


Week of Year


TokenOutput
w1 2 ... 52 53
wo1st 2nd ... 52nd 53rd
ww01 02 ... 52 53


Week of Year (ISO)


TokenOutput
W1 2 ... 52 53
Wo1st 2nd ... 52nd 53rd
WW01 02 ... 52 53


Year


TokenOutput
YY70 71 ... 29 30
YYYY1970 1971 ... 2029 2030
Y1970 1971 ... 9999 +10000 +10001


Week Year


TokenOutput
gg70 71 ... 29 30
gggg1970 1971 ... 2029 2030


Week Year (ISO)


TokenOutput
GG70 71 ... 29 30
GGGG1970 1971 ... 2029 2030


AM/PM


TokenOutput
AAM PM
aam pm


Hour


TokenOutput
H0 1 ... 22 23
HH00 01 ... 22 23
h1 2 ... 11 12
hh01 02 ... 11 12
k1 2 ... 23 24
kk01 02 ... 23 24


Minute


TokenOutput
m0 1 ... 58 59
mm00 01 ... 58 59


Second


TokenOutput
s0 1 ... 58 59
ss00 01 ... 58 59


Fractional Second


TokenOutput
S0 1 ... 8 9
SS00 01 ... 98 99
SSS000 001 ... 998 999
SSSS ... SSSSSSSS000[.] 001[.] ... 998[.] 999[.]


Time Zone


TokenOutput
Z-07:00 -06:00 ... +06:00 +07:00
ZZ-0700 -0600 ... +0600 +0700


Unix Timestamp


TokenOutput
X1360013296


Unix Millisecond Timestamp


TokenOutput
x1.36001E+12

Updated on: 04/03/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!