Datetimebox correctly handles setDate call.