Convert dates, durations and time to canonical format (dates -> ISO 8601, durations -> milliseconds).