Dear all,
which smart value can I use to display the last day of the previous month?
Unfortunately, this section did not help me because I always want to select {{now.lastOfTheMonth(now.minusMonths(1))}}. But I think a nesting does not work
{{now.endOfMonth}}
{{now.startOfMonth}}
{{now.firstBusinessDayOfMonth}}
{{now.lastBusinessDayOfMonth}}
// Parameters: day of week (1-7)
{{now.firstOfTheMonth(1)}}
{{now.lastOfTheMonth(1)}}
// Parameters: nth of month (1-5), day of week (1-7)
{{now.ofTheMonth(2, 1)}}
Thanks a lot and kind regards,
Jens
Thanks Mark, output is 2023-07-31T06:39:37.5+0000
i set than
{{now.startofMonth.minusDays(1).format("dd.MM.yyyy")}}
for german format.
Great :)
Case closed...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.