In the TextTicker and Table objects you have the option to enable Parse macros. This option will replace any macro in the text with the current date and time or other local data.

You can edit these macros directly in the objects, just click on the Insert macro button and select the macros you want, including time zone and language settings


If you would like to show a time in the text object you can select the Time macro from the Time Macros sub menu. This will show in the text object as:

%X

and in the preview as

16:25:36

Formatting is done using your system settings as default, but we can force a specific language to for example get AM/PM time. This is using the English language (Language Macros > A-I > English)

%L=1033%X

and in the preview as

4:25:36 PM

If I then would like to add another time zone, for example GMT +1 (Stockholm...) place the cursor before the %X text and right click. From the menu appearing select: Time Zone Macros > GMT + > GMT +1 Amsterdam. This will show in the text object as:

%Z=110%X

and in the preview as

17:25:36


It is also possible to add several time zone (and language) macros to the same text, for example this text:

%Z=110%X
%Z=20%X

Will show in the preview as this:

17:25:36
10:27:30


Using the following macros will show the full month name in French:
(The number used below in the example is an LCID decimal)

%L=1036%B

Show in the preview as

octobre


It is also possible to force the first character of a text macro into being a capital character using the ! modifier:

%!B

Show in the preview as

October


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)
%ITwo-digit hour, 12 hour day (01 - 12)
%#ITwo-digit hour, 12 hour day, remove leading zeros (if any)
%M2-digit minute (00 - 59)
%#M2-digit minute, remove leading zeros (if any)
%pAM or PM
%r12-hour time (01 - 12) format with am/pm string i.e. '%I:%M:%S %p'
%STwo-digit second (00 - 59)
%#STwo-digit second, remove leading zeros (if any)
%T24-hour time (00 - 23) in the format 'HH:MM:SS'
%XTime
%zTime zone name, or no characters if no time zone
%ZSet time zone, for example %Z=85 will set the time zone for macros following to GMT.


Other macros

MacroResult
%%Character %
%nRow break / new line.
%LSet language, for example: %L=1036 will show macros following in French locale.
%tTab 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.