Use ts for for time when converting between utc and local.