Integrations/AzureCompute_v2/AzureCompute_v2.py
def epoch_seconds(d=None):
    """
    Return the number of seconds for given date. If no date, return current.

    parameter: (date) d
        The date to convert to seconds

    returns:
        The date in seconds
    """
    if not d:
        d = datetime.utcnow()
    return int((d - datetime.utcfromtimestamp(0)).total_seconds())

    Return the number of seconds for given date. If no date, return current.

    parameter: (date) d
        The date to convert to seconds

    returns:
        The date in seconds
    
Return the number of seconds for given date. If no date, return current.
parameter: (date) d
The date to convert to seconds

The date in seconds
Return the number of seconds for given date . If no date return current . parameter : ( date ) d The date to convert to seconds The date in seconds
def epoch_seconds(d=None):
    if not d:
        d = datetime.utcnow()
    return int((d - datetime.utcfromtimestamp(0)).total_seconds())
def epoch_seconds ( d = None ) : if not d : d = datetime . utcnow ( ) return int ( ( d - datetime . utcfromtimestamp ( 0 ) ) . total_seconds ( ) )
Return the number of seconds for given date.
Return the number of seconds for given date .
"""
    Return the number of seconds for given date. If no date, return current.

    parameter: (date) d
        The date to convert to seconds

    returns:
        The date in seconds
    """
d