days
Returns the number of days in the month: 28, 29, 30, or 31. Leap-year
February returns 29.
API Reference
Signature
Parameters
None.
Returns
Returns the day count of the month as a number.
Agent Contract
Agent Notes
days()is month metadata — a pure function of the year-month, independent of any day anchor. It is not day-level arithmetic.- For the number of days between two months, use
@teakit/day;@teakit/monthdoes not do cross-month day arithmetic.