Format Date and Time Text

Description

Define how the date and time are displayed when text is created using a text style.

Format

When you define the format for the date and time in a text style use the following notation:

Notation Description
%Y Created text includes the year as a 4 digit number.
%y Created text includes the last 2 digits of the year.
%m Created text includes the month as a two digit number.
%d Created text includes the day as a two digit number.
%j Created text includes the day of the year as a 3 digit number.
%A Created text includes the full weekday name.
%a Created text includes the abbreviated weekday name.
%B Created text includes the full month name.
%U Created text includes the week of the year as a 2 digit number. Sunday is considered the start of the week.
%H Created text includes the hour of the day as a 2 digit number, in 24 hour notation.
%I Created text includes the hour of the day as a 2 digit number, in 12 hour notation.
%M Created text includes the minute as a 2 digit number.
%S Created text includes the second as a 2 digit number.
%p Created text includes a.m or p.m.
Notes
  • You can insert additional text to be displayed with the date and time.
  • Values are displayed in the order they appear in the Format box.
  • Some date and time notation is locale dependent.
Top of page TOP OF PAGE