Datetime variables
Messages may contain variables. These variables are processed by the respective clients and the corresponding date value is displayed.
The variable additionally offers the possibility to edit the original value via modifiers.
Date value
Specifies by which time the variable should be replaced.
Manipulation
The modifiers for year, month, day, hour and minute define if and how these values should be modified.
Dynamic value
In case of a dynamic value, the selected modifier is added or subtracted to the respective date part of the previously specified date value.
Examples
Date value | Date part | Modifier | Result |
---|---|---|---|
01.07.2022 12:30 | Month | -1 | 01.06.2022 12:30 |
01.07.2022 12:30 | Month | 1 | 01.08.2022 12:30 |
01.12.2022 12:30 | Month | 1 | 01.01.2023 12:30 |
Fixed value
In case of a fixed value, the respective date part is applied to the selected modifier.
Examples
Date value | Date part | Modifier | Result |
---|---|---|---|
01.07.2022 12:30 | Month | 1 | 01.01.2022 12:30 |
01.07.2022 12:30 | Month | 12 | 01.12.2022 12:30 |
End of month [Available for day only]
Since not all months have a uniform number of days, there is an additional setting option for the days at the end of the month, with which the desired day can be specified.
Examples
Date value | Date part | Modifier | Result |
---|---|---|---|
01.07.2022 12:30 | Day | Last day of the month | 31.07.2022 12:30 |
01.02.2022 12:30 | Day | Last day of the month | 28.02.2022 12:30 |
01.07.2022 12:30 | Day | Second last day of the month | 30.07.2022 12:30 |
01.02.2022 12:30 | Day | Second last day of the month | 27.02.2022 12:30 |
01.07.2022 12:30 | Day | Third last day of the month | 29.07.2022 12:30 |
01.02.2022 12:30 | Day | Third last day of the month | 26.02.2022 12:30 |
Modifier processing
The modifiers of a variable are evaluated as follows:
- Replacing the variable value with the specified value (without calculation).
- Applying the calculation in the following order
- Calculation for the year
- Calculation for the month
- Calculation for the day
- Calculation for the hour
- Calculation for the minute
Format
Specifies how the date should be displayed.
Preview
The preview serves as an example of how the settings made behave to obtain the desired result.