Updated to match the changes from Date to DateTime.