Returns the last day of the validated date's month.
Signature
last_of_month :: (value: Date) -> Date
d := last_of_month(Date.{ 2024, 2, 10 });
assert(d.day == 29);Returns the last day of the validated date's month.
last_of_month :: (value: Date) -> Date
d := last_of_month(Date.{ 2024, 2, 10 });
assert(d.day == 29);