initialize date/time picker correctly