Upgraded datetime validator API