Shared Sub SelectDate(initialDate as date, selectionDelegate as DateSelectedDelegate,parentControl as RectControl, x as integer,y as integer,w as integer,h as integer)
Displays a date chooser and calls the selection Delegate with the new date upon user choice or with nil upon cancel
Format of the delegate is dateSelectedCallback(parentControl as rectControl, newDate as date)