Text Object Macros
  • 12 Jun 2024
  • 2 Minutes to read

Text Object Macros


Article summary

Enable Parse macros within the Text object. This option will replace any macro in the text with the current date and time or other local data.

Edit these macros directly in the objects, click on the 'Insert macro' button and select one or more macros, including time zone and language settings. 


Date macros

MacroResult
%aAbbreviated weekday name
%AFull weekday name
%bAbbreviated month name
%BFull month name
%cDate and time
%#cLong date and time representation, appropriate for current locale. For example: Tuesday, March 14, 1995, 12:41:29
%CCentury as a decimal number (00 - 99). For example, 1992 => 19
%dTwo-digit day of month (01 - 31)
%#dTwo-digit day of month, remove leading zeros (if any)
%DDate
%eDay of the month as a decimal number in a two-digit field with leading space (1 -31)
%hAbbreviated month name (Same as %b)
%jThree-digit day of year (001 - 366)
%#jThree-digit day of year, remove leading zeros (if any)
%mTwo-digit month as a decimal number (1 - 12)
%#mTwo-digit month as a decimal number, remove leading zeros (if any)
%uWeekday as a decimal number (1 Monday - 7 Sunday)
%UTwo-digit week number where Sunday is the first day of the week (00 - 53)
%#UTwo-digit week number where Sunday is the first day of the week, remove leading zeros (if any)
%wWeekday where 0 is Sunday (0 - 6)
%#wWeekday where 0 is Sunday, remove leading zeros (if any)
%WTwo-digit week number where Monday is the first day of week the week (00 - 53)
%#WTwo-digit week number where Monday is the first day of week the week, remove leading zeros (if any)
%xDate
%#xLong date representation, appropriate to current locale. For example: Tuesday, March 14, 1995
%yTwo-digit year without century (00 to 99)
%#yTwo-digit year without century, remove leading zeros (if any)
%YYear with century
%#YYear with century, remove leading zeros (if any)

Time macros

MacroResult
%HHour of the day, 24 hour day
%#HHour of the day, 24 hour day, remove leading zeros (if any)
%I

Two-digit hour, 12 hour day (01 - 12)

%#ITwo-digit hour, 12 hour day, remove leading zeros (if any)
%M

2-digit minute (00 - 59)

%#M2-digit minute, remove leading zeros (if any)
%p

AM or PM

%r

12-hour time (01 - 12) format with am/pm string i.e. '%I:%M:%S %p'

%S

Two-digit second (00 - 59)

%#STwo-digit second, remove leading zeros (if any)
%T

24-hour time (00 - 23) in the format 'HH:MM:SS'

%XTime
%z

Time zone name, or no characters if no time zone

%Z

Set time zone, for example %Z=85 will set the time zone for macros following to GMT.


Other macros

MacroResult
%%
Character %
%nRow break / new line.
%L
Set language, for example: %L=1036 will show macros following in French locale.
%t
Tab character
!
Add ! to any macro displaying text, and the first character in the text will be changed to an capital character. For example: %B will show asoctober but %!B will show as October.

Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.