Implemented Google's suggestion for DATE/DATETIME