In order to implement custom logic for parsing the date value, you should use ParseDateTimeValue
event of the DateTimePicker. You can define the desired scenarios in the event handler in the code behind. For more detailed information regarding custom parsing please see the How to implement custom parsing
article from our documentation.
Hope this helps.