'returns the offset expiration in seconds'

def apply(self, collection, **kwargs):

    (result, expires) = self._compose(**kwargs)
    if (expires is not None):
        EXPIRES.update(collection, delta=expires)
    self.update(collection, *result)
    return expires
