I want to compare today's date with a saved date to see if the saved date is today's or before it.
calendar-date-compare seems to be the function I need. The documentation
C-h f calendar-date-compare reads,
calendar-date-compare is a compiled Lisp function. (calendar-date-compare DATE1 DATE2) Return t if DATE1 is before DATE2, nil otherwise. The actual dates are in the car of DATE1 and DATE2.
But what are the types of of
DATE2? I don't understand what to pass here!
calendar-current-date returns a list that looks like this
(9 5 2021) but that is not what
calendar-date-compare expects as arguments.
Could someone help?