Skip to main content

Date & Number Format

You can format date and numbers, by clicking on the fields inserted in the document editor. In the format option, we list some of the commonly used formats for date and number fields. You can also specify your own format. This doc will help you figure out some of the common date time and number syntax.

info

If you want date or currency to be localized, make sure to specify Locale on the right side panel. Make sure to specify TimeZone for date, as the default is UTC.

Date Formatโ€‹

Click on a variable you inserted (You can insert a variable by typing @). You can specify three options - Date Format, TimeZone and InputFormat. Below you can find explanation and examples of formats.

warning

If you have date as a string field and it is not of ISO-8601 format, you will need to specify InputFormat.

Components Library Components Library

๐Ÿ“… Examples of commonly used formatsโ€‹

You can copy the syntax and paste it in the format field

ExampleDescriptionPattern
2025-05-31Full date with year, month, dayyyyy-MM-dd
31 May 2025Day Month (full name) Yeardd MMMM yyyy
Sat, 31 May 2025Abbreviated weekday, day, month, yearEEE, dd MMM yyyy
Saturday, May 31, 2025Full weekday, full month, day, yearEEEE, MMMM d, yyyy
14:05Hour and minutes (24-hour format)HH:mm
2:05 PMHour and minutes (12-hour with AM/PM)h:mm a
2025-05-31T14:05:00ISO-style datetime with literal 'T'yyyy-MM-dd'T'HH:mm:ss
31/05/25Compact date formatdd/MM/yy
2025-151Year and day of yearyyyy-DDD
2025-W22-6Week-based date (ISO week date)YYYY-'W'ww-e
May 2025Month and yearMMMM yyyy
Saturday at 2:05 PMDay and time with AM/PMEEEE 'at' h:mm a

Below you can find syntax for different date and time entities. You can combine them as per your liking, with spaces, slash, dash etc...

Year syntaxโ€‹

PatternDescriptionExample
yyyy4-digit calendar year2025
yy2-digit year25
uYear (can be negative/zero)2025

Month syntaxโ€‹

PatternDescriptionExample
MM2-digit month (01โ€“12)05
M1 or 2-digit month (1โ€“12)5
MMMAbbreviated month nameMay
MMMMFull month nameMay
MMMMMNarrow month name (1-letter)M

Week syntaxโ€‹

PatternDescriptionExample
wWeek of year (1โ€“53)22
wwWeek of year, 2 digits22
WWeek of month (1โ€“5)4
YWeek-based year2025
eLocal day of week (1โ€“7)6

Day syntaxโ€‹

PatternDescriptionExample
dd2-digit day of month (01โ€“31)09
d1 or 2-digit day of month (1โ€“31)9
DDay of year (001โ€“365/366)151
EAbbreviated day name (Mon, Tue, etc.)Sat
EEEEFull day nameSaturday
EEEEENarrow day name (1-letter)S
eDay of week number (1โ€“7, locale-specific)6
cStandalone day of week number6

Time syntaxโ€‹

PatternDescriptionExample
HHHour (00โ€“23)14
HHour (0โ€“23)4
hhHour (01โ€“12)02
hHour (1โ€“12)2
mmMinutes (00โ€“59)07
ssSeconds (00โ€“59)09
SSSMilliseconds123
aAM/PM markerPM

TimeZone syntaxโ€‹

PatternDescriptionExample
zGeneral time zone namePDT
ZRFC 822 time zone offset-0700
XISO 8601 time zone (e.g. Z or +05)Z
XXISO 8601 time zone with hours and minutes+0530
XXXISO 8601 with colon+05:30

Number Formatโ€‹

๐Ÿ”ข Number Formatting Overviewโ€‹

Number formatting lets you control how numbers appear โ€” with thousands separators, decimal places, currency symbols, percentages, and more. You define how numbers are displayed using special pattern characters.

Commonly used formatsโ€‹

Example OutputPatternDescription
1230Integer without decimals
0012300000Pads with leading zeroes
123.460.00Always two decimal places (rounded)
123.40.0#One or two decimal places
1,234#,##0Thousands separator
1,234.50#,##0.00Thousands + two decimals
$1,234.50$#,##0.00Currency format with symbol
(1,234.50)#,##0.00;(#,##0.00)Accounting style negative numbers
($1,234.50)$#,##0.00;($#,##0.00)Accounting style negative currency
75%0%Percent, no decimals
75.00%0.00%Percent with decimals
0 units0 'units'Appends literal text
$001.20$000.00Currency with padded integer part
$1,234.00ยค#,##0.00Uses currency placeholder

# โ€” Optional digitโ€‹

Displays a digit only if it exists in that position. Extra zeros are not shown.
Pattern: ###
Input: 42 โ†’ Output: 42


0 โ€” Required digitโ€‹

Always displays a digit, padding with zeros if necessary.
Pattern: 000
Input: 5 โ†’ Output: 005


. โ€” Decimal separatorโ€‹

Separates the integer part from the fractional part.
Pattern: 0.00
Input: 1.5 โ†’ Output: 1.50


, โ€” Grouping separatorโ€‹

Defines where digit grouping (e.g., thousands separator) should appear.
Pattern: #,##0
Input: 10000 โ†’ Output: 10,000


% โ€” Percent symbolโ€‹

Multiplies the number by 100 and appends a % sign.
Pattern: 0%
Input: 0.75 โ†’ Output: 75%


ยค โ€” Currency symbol placeholderโ€‹

Replaced with the appropriate currency symbol (based on locale).
Pattern: ยค#,##0.00
Input: 1234.5 โ†’ Output: $1,234.50


'...' โ€” Literal textโ€‹

Encloses characters that should appear exactly as written.
Pattern: 0 'kg'
Input: 5 โ†’ Output: 5 kg


; โ€” Pattern separatorโ€‹

Defines separate formats for positive and negative numbers.
Pattern: +#;-#
Input: -42 โ†’ Output: -42