You can try setting the Date Time Format String and the Key Range partition Date Time format as String as well.
Then ensure that they are in sync by setting both the properties in the following format:
What exactly are you trying to achieve?
Do you want to run a session for this given date/time range? Or what else?
A slightly more complete explanation of the intended process would help.