Class ToDateTimeFunction