Fixed Datetime detection