From Xojo Documentation

Revision as of 20:06, 17 August 2018 by PLefebvre (talk | contribs) (Created page with "{{PropertyBox | name=DefaultDate | owner=iOSDatePicker | ownertype=class | scope=public | type=Date | project=Mobile | target=iOS }} {{Description | tex...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Property (As Date )
aiOSDatePicker.DefaultDate = newDateValue
DateValue = aiOSDatePicker.DefaultDate

Supported on Mobile (iOS).

The default date to display when DatePickerMode = Date or DateAndTime. Contains the selected date. By default, the current date and/or time is displayed (for date and time display modes).

Sample Code

Gets the selected date from the date picker:

Dim selectedDate As Xojo.Core.Date
selectedDate = StartDatePicker.DefaultDate