Time expressions
M42PL provide a time expression syntax to select time ranges.
The general expression syntax is:
(-|+)<value><unit>@<precision>
Where:
(-|+)
indicates if you decrement (-
) or increment (+
) the time offset- By default, M42PL assumes you decrement (
-
)
- By default, M42PL assumes you decrement (
<value>
is an integer, representing the number of<unit>
to decrement or increment<unit>
is the time unit in:ms
: microseconds
: secondm
: minuteh
: hourd
: daymon
: month
<precision>
is the current time rounded to:now
: microseconds
: secondm
: minuteh
: hourd
: daymon
: month