MobileDateTimePicker.MinimumDate

From Xojo Documentation

Property (As DateTime )
aMobileDateTimePicker.MinimumDate = newDateTimeValue
or
DateTimeValue = aMobileDateTimePicker.MinimumDate

Supported on Mobile.

The minimum selectable date.

Notes

Dates before the minimum date still appear, but cannot be selected.

Sample Code

Limit the minimum date to 100 years in the past:

Var pastDate As DateTime
Var interval As New DateInterval
interval.Years = -100
pastDate = DateTime.Now + interval
StartDatePicker.MinimumDate = pastDate

See Also

DateTime class, MaximumDate property.