<desc>Use the <cmd>--calendar</cmd> option.</desc>
</info>
<title>Calendar Dialog</title>
<p>
Use the <cmd>--calendar</cmd> option to create a calendar dialog. Zenity returns the selected date to standard output. If no date is specified on the command line, the dialog uses the current date.
</p>
<p>
The calendar dialog supports the following options:
</p>
<terms>
<item>
<title><cmd>--text</cmd>=<var>text</var></title>
<p>Specifies the text that is displayed in the calendar dialog.</p>
</item>
<item>
<title><cmd>--day</cmd>=<var>day</var></title>
<p>Specifies the day that is selected in the calendar dialog. day must be a number between 1 and 31 inclusive.</p>
<p>Specifies the format that is returned from the calendar dialog after date selection. The default format depends on your locale. Format must be a format that is acceptable to the <cmd>strftime</cmd> function, for example <var>%A %d/%m/%y</var>.</p>
</item>
</terms>
<p>
The following example script shows how to create a calendar dialog: