I am trying to grab the previous dates from the current date. For instance lets take todays date 06-07-2023 I want to be able to get the 06-06-2023, 06-05-2023, 06-04-2023, etc..
Is there a way to use the date functions in Javascript to accomplish this?