parameters: (date)
docstring: Given a datetime object return an integer representation for that datetime
docstring_summary: Given a datetime object return an integer representation for that datetime
docstring_tokens: Given a datetime object return an integer representation for that datetime
function: def date_to_seconds(date):
    '''
    Given a datetime object return an integer representation for that datetime
    '''
    if isinstance(date, datetime.datetime):
      return (date - datetime.datetime.today()).total_seconds()
    else:
      return - float('inf')
function_tokens: def date_to_seconds ( date ) : if isinstance ( date , datetime . datetime ) : return ( date - datetime . datetime . today ( ) ) . total_seconds ( ) else : return - float ( 'inf' )