Format expiry time