Properties and Operators for Named Times

You can use the following properties in a relative time:

  • YEAR

  • MONTH

  • WEEK_OF_MONTH

  • WEEK_OF_YEAR

  • DAY_OF_MONTH

  • DAY_OF_WEEK

  • DAY_OF_YEAR

  • HOUR_OF_DAY

  • MINUTE

  • SECOND

  • MILLISECOND

All properties must be set to a numeric value (e.g. "MINUTE-10") or a constant (e.g. "DAY_OF_WEEK= $SATURDAY"). Refer to the section Value Constants for Named Times for more information on value constants.

NOTE: MONTH is zero-based. Consequently, MONTH=0 evaluates to January and MONTH=1 evaluates to February.

The Named Time Editor supports the following operators to change a property:

Operator

Operation

Syntax

Example

+

Add

property+value

HOUR_OF_DAY+1

-

Subtract

property-value

YEAR-1

=

Set

property=value

YEAR=2000

See Also

Named Times

Mixing Absolute and Relative Times

Chaining Actions for Relative Times

Configuring named times