_DIARYDATE System Variable

Example   See Also

Contains the current date in the Calendar/Diary.

Syntax

_DIARYDATE = dExpression

Arguments

dExpression

Specifies the date for the Calendar/Diary.

Remarks

With _DIARYDATE, you can display the Calendar/Diary with a specific date selected, or you can return the selected Calendar/Diary date.

By default, the current date is stored in _DIARYDATE. When you open the Calendar/Diary, the current date is selected. You can store a different date to _DIARYDATE so that the Calendar/Diary opens with this new date selected.

Selecting a new date when the Calendar/Diary is open causes the new date to be stored to _DIARYDATE. When you close the Calendar/Diary, _DIARYDATE contains the last selected date.