in reply to Re: Yesterday's date
in thread Yesterday's date

Confusing: 04/24/2023 and 05/31/2023 are a direct contradiction to the DD/MM/YYYY given at start of post. Which is it?

Replies are listed 'Best First'.
Re^3: Yesterday's date
by jpys (Novice) on May 31, 2023 at 08:33 UTC
    Hello, what I meant was it can be any date that the script will provide - I was just giving examples. The script format will display MMDDYYYY. From there I need to know how to figure out what the day before was. As to my examples the day before would be 04/23/2023 and 05/30/2023 respectively.

      You can use at least two of the solutions provided in this thread (Re: Yesterday's date, Re: Yesterday's date) if you simply alter the date format pattern to match your actual data. Please show the code you have and how it is failing.


      The way forward always starts with a minimal test.