def epoch(ctx, datetime):
    """
    Converts the given date to the number of seconds since January 1st, 1970 UTC
    """
    return conversions.to_decimal(str(conversions.to_datetime(datetime, ctx).timestamp()), ctx)