Optimized datetime parsing.
Optimzed datetime parsing.