Value Constants for Named Times

You can include constants in a property expression when the `set' operator is used (see Properties and Operators for Named Times for information on the `set' operator).

All constants start with a dollar sign ($). Example: "DAY_OF_WEEK=$MONDAY".

You can use the following constants in relative times:

  • $DISPLAY_NOW (displays current local time)

  • $FIRST_DAY_OF_WEEK

  • $LAST_DAY_OF_WEEK

  • $LAST_DAY_OF_LAST_YEAR

  • $SUNDAY

  • $MONDAY

  • $TUESDAY

  • $WEDNESDAY

  • $THURSDAY

  • $FRIDAY

  • $SATURDAY

  • $JANUARY

  • $FEBURARY

  • $MARCH

  • $APRIL

  • $MAY

  • $JUNE

  • $JULY

  • $AUGUST

  • $SEPTEMBER

  • $OCTOBER

  • $NOVEMBER

  • $DECEMBER

Using these constants is optional; however, when the actions are parsed and re-displayed, the Named Time Editor will display actions with the constants. For example, if you type "DAY_OF_WEEK=1" into the editor, it displays "DAY_OF_WEEK=$SUNDAY". This is done to improve readability.

See Also

Named Times

Mixing Absolute and Relative Times

Chaining Actions for Relative Times

Configuring named times