hour
Available from version | 1.25.0 |
---|---|
Usage | /argument "2020-01-15T{hour}:00" |
Description
Represents the current hour.
Modify value
By using a modifier the value can be edited additionally:
{hour[+-][Value in hours]}
Examples
Call | Variable value | Argument value | Calculation | Argument value after calculation | Description |
---|---|---|---|---|---|
/argument "2020-01-15T{hour}:00" | 12 | 15.01.2020 12:00 | - | 15.01.2020 12:00 | The current hour |
/argument "2020-01-15T{hour+13}:00" | 12 | 15.01.2020 12:00 | + 13 hours | 16.01.2020 01:00 | 13 hours are added to the total argument value |
/argument "2020-01-15T{hour-13}:00" | 12 | 15.01.2020 12:00 | - 13 hours | 14.01.2020 23:00 | 13 hours are deducted from the total argument value |