Skip to main content

Date Formats

Depending on the countries, dates may have different formats. Here are the elements that can help you change the date format or customize it.
Date format Description
EEEE Day of the week
MM Month of the year in a two-digit format
MMM Abbreviated month of the year
MMMM Month of the year
dd Day of the month
yy Year in two-digit format
yyyy Year in four-digit format
YYYY Week-based year
HH Hour of the day (0-23)
hh Clock hour in AM/PM (1-12) format
mm Minute
ss Second
SSS Fraction of a second
a AM/PM marker
Z UTC time offset

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!