1 2 3 4 5 6 7 8 9 10
#!/bin/sh if zenity --calendar \ --title="Select a Date" \ --text="Click on a date to select that date." \ --day=10 --month=8 --year=2004 then echo $? else echo "No date selected" fi