public DatePicker(value as DateTime = null):
Creates a date picker.
value
picker = DatePicker() picker.value = DateTime(year=2026, month=6, day=14)