Generate pure date functions based on the DatePickerOption (for V1 protocol).