Convert timestamps for DateTime.