## Calendar dialog

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 value using either the calendar or an 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 type 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. It is available to DateTime type parameters only. Each time when the calendar is accessed, the default selected format is always 12-hour format.

>>/<<

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 name field does not support typing directly into it. 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.

Opens the Expression dialog to insert built-in Date/Time formula functions into the expression.

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.

###### Related topics:

- Using built-in functions to set date and time parameter values