Convert expiration field to time until expire for batch, query, and scan