The dialog appears when you click the calendar button while specifying value to a Date, DateTime, or Time parameter which allows for type-in values. It helps you to create a date and time parameter value using either calendar or expression.
The dialog is divided into two sections: the left section is a calendar for selecting date and time, the right section is for editing an expression by using built-in formula functions. The expression has higher priority than the value specified in the calendar. If you cannot see the expression settings, click >> at the bottom left corner. See the dialog.
Calendar
Specifies the month, year, day and time from the calendar. The time setting is available to DateTime or Time format parameters. The date/time in the calendar can be synchronized with the date/time calculated by a valid expression.
Display Time Format
Specfies in which format to display the time, 12-hour or 24-hour. Each time when the calendar is accessed, the default selected format is always 12-hour format.
Use Today as Default
This option is used to set the default selected date in the calendar. When it is checked, the calendar always shows the current date when it is accessed. When this option is unchecked, the default is the same as the value shown in the parameter's value box.
>>/<<
Displays or hides the expression settings.
Template
You can choose an existing expression template and then either use it directly or edit your expression based on it. The Template text field does not support typing in, if you would like to create an expression all by yourself, select the first blank row from the drop-down list.
Expression
Displays the expression. You can edit the expression directly in the text box.
Lists the built-in Date/Time formula functions. Single click to select a function and insert it into the Expression text box.
Preview
Displays the value result based on the specified expression, or gives error information if the expression is not correct.
OK
Sets either the value selected in the calendar or the expression as the parameter value. Expression has higher priority.
Cancel
Does not retain any changes and closes the dialog.