Fixed date/datetime validation