Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEASolved this challenge with below tools:
Thanks
My solution.
Done! DateTimeTrim is awesome!
My solution.
1. Extract the month + 1 and the year
2. Create a date using year, month + 1, day 1
3. Use datetimeadd to subtract 1 day
Had to watch out for the year when calculating the month + 1. If the month number is 12, then have to also add 1 to year for month + 1.
solved