Fixed an issue where Time was being created as DateTime