Fixing Datetime assignment to starttime field