swap order of date/time