"""Utils for dates. There are some challenges with working with dates. Those methods are simplifying the default python api. """ from datetime import datetime from datetime import timezone def now_utc_timestamp(): """Create a utc timestamp. Args: timestamp (int): the current timestamp, optional. Returns: int: the timestamp. """ return datetime.utcnow().replace(tzinfo=timezone.utc).timestamp()