``` using Dates julia> lastdayofmonth(today()) 2022-02-28 ```
But that's function oriented programming for you.