Time utilities for expiration calculations