Used the date time directly instead of the helper function.