I would like to see the shortest expression to calculate the days (or the last day) of a month in any language.
Considering y as the number of year and m as month.
Basic rules
- without date / time functions.
- considering leap years.
- there is not other rule.