<human>:  Give me a Python program to the last date of month.
<bot>: Here is a Python program to the last date of month

import datetime

def islastdateofmonth(date):
  """Checks if the date is the last date of the month."""
  return date.month == 2 and date.day == 29

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

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

#Example Output
# False

#Remember to inspect code for bugs.