<human>:  the days to the end of the quarter.
<bot>: Here is a Python code to the days to the end of the quarter

import datetime

def days_to_end_of_quarter(date):
  """Returns the number of days to the end of the quarter.
  """
  return (date - date.replace(month=3, day=15)).days

# Enter the date
date = datetime.date(2019, 1, 1)

# Calling the function
print((days_to_end_of_quarter(date)))

#Example Output

# -73

#Remember to inspect code for bugs.