Corrected the regex for datetime value verification.

The regex now enforces the datetime verification in a strict
manner. Datetime values must absolutely match the format.
Additional unmatching text will cause the regex to fail.