Made sure the value object receives a dateTime object instead of a timestamp element.