Automatically obtain yesterday's dateHello,
I run a script automatically every day that uses the date from the day before at midnight. I would like to retrieve this date automatically but I do not know how to achieve it. Do you have any answers?
Thank you in advance for your answers
Elise.
ScriptingRe: Obtenir automatiquement la date de la veilleTry using Date Increment with Today():
Names Default To Here(1);<BR />lastDay = Date Increment(Today(), "day", -1, "start");
//Print(Format(lastDay, "Format Pattern", "<YYYY><MM><DL><DD> <HH24><:><MM><:><SS>")); //"2021/08/25 00:00:00"</SS></MM></HH24></DD></DL></MM></YYYY>
Re: Automatically get yesterday's dateThank you very much that's exactly what I needed!