To insert digital clock into a text field:
- go to a text field in configuration you want to modify, place cursor in desired location and click button
- click tag for “Current time” for standard 24hrs digital clock or “Current time (AM/PM)” for 12hrs one
- to select time zone for inserted time click tag for “add timezone for
<time>
tag” - you can customize
<time>
tag with parameters as listed below - you can customize text formatting as specified here
- save and apply configuration
To insert date into a text field:
- go to a text field in configuration you want to modify, place cursor in desired location and click button
- click tag for “Current date – long format”
- you can customize
<time>
tag with parameters as listed below - you can customize text formatting as specified here
- save and apply configuration
For example – this configuration line:
Amsterdam time: <size 200%><time> <color #ff00ff><time %A, %B %d, %Y>
will result in this output:
Examples for <time>
tag configuration:
<time %I:%M:%S %p>
= current time (AM/PM) => 12:01:14 AM
<time %I:%M:%S %p>
= current date – long format => Thursday, February 29, 2024
Format specifier | Substitutes |
---|---|
%% | Character % |
%a | Abbreviated weekday name |
%A | Full weekday name |
%b | Abbreviated month name |
%B | Full month name |
%c | Date and time |
%#c | Long date and time representation, appropriate for current locale. For example: Tuesday, March 14, 1995, 12:41:29 |
%d | Two-digit day of month (01 – 31) |
%#d | Two-digit day of month, remove leading zeros (if any) |
%H | Hour of the day, 24 hour day |
%#H | Hour of the day, 24 hour day, remove leading zeros (if any) |
%I | Two-digit hour, 12 hour day (01 – 12) |
%#I | Two-digit hour, 12 hour day, remove leading zeros (if any) |
%j | Three-digit day of year (001 – 366) |
%#j | Three-digit day of year, remove leading zeros (if any) |
%m | Two-digit month as a decimal number (1 – 12) |
%#m | Two-digit month as a decimal number, remove leading zeros (if any) |
%M | 2-digit minute (00 – 59) |
%#M | 2-digit minute, remove leading zeros (if any) |
%p | AM or PM |
%S | Two-digit second (00 – 59) |
%#S | Two-digit second, remove leading zeros (if any) |
%U | Two-digit week number where Sunday is the first day of the week (00 – 53) |
%#U | Two-digit week number where Sunday is the first day of the week, remove leading zeros (if any) |
%w | Weekday where 0 is Sunday (0 – 6) |
%#w | Weekday where 0 is Sunday, remove leading zeros (if any) |
%W | Two-digit week number where Monday is the first day of week the week (00 – 53) |
%#W | Two-digit week number where Monday is the first day of week the week, remove leading zeros (if any) |
%x | Date |
%#x | Long date representation, appropriate to current locale. For example: Tuesday, March 14, 1995 |
%X | Time |
%y | Two-digit year without century (00 to 99) |
%#y | Two-digit year without century, remove leading zeros (if any) |
%Y | Year with century |
%#Y | Year with century, remove leading zeros (if any) |
%Z, %z | Time zone name, or no characters if no time zone |