|
Available from version |
1.25.0 |
|---|---|
|
Usage |
/argument "{year}-01-15T12:00" |
Description
Represents the current year.
Modify value
By using a modifier the value can be edited additionally:
{year[+-][Value in years]}
Examples
|
Call |
Variable value |
Argument value |
Calculation |
Argument value after calculation |
Description |
|---|---|---|---|---|---|
/argument "{year}-01-15T12:00"
|
|
|
- |
|
The current year |
/argument "{year+1}-01-15T12:00"
|
|
|
+ 1 year |
|
1 year is added to the total argument value |
/argument "{year-1}-01-15T12:00"
|
|
|
- 1 year |
|
1 year is deducted from the total argument value |