Hey,
how can I get last month dates in scenario.
I mean if scenario run in October, I want to get dates 2022-09-01
(start last month date) and 2022-09-31
(end last month date).
It’s possible in make.com?
Hey,
how can I get last month dates in scenario.
I mean if scenario run in October, I want to get dates 2022-09-01
(start last month date) and 2022-09-31
(end last month date).
It’s possible in make.com?
Hi @matt08
Yes, it is possible in Make.
You can get the dates by using the addMonths, addDays, setDate functions and the {{now}}
variable
To get the first day of last month, add -1
month to now
and set the date to 1
Last day of last month = first day of this month -1
→ setDate of now
to 1 and then add -1
day to it