Hello,
How can I send last day of previous month in a Shortcut ?
In date and time I do not find a way to send last day of previous month.
I can send first day of previous month with this formatting 01/MM/yyyy
DAY TIME CALCULATION: LAST DAY OF PREVIOUS MONTH
Code: Select all
TDate := A_YYYY A_MM "01" ; Start Date of Current Month
TDate += -1, D ; End Date of Previous Month
FormatTime, fileDate, %TDate%, dd.MM.yyyy
Send, %fileDate%