days-in-month ( timestamp -- n )
Calendar > Calendar facts

Prev:seconds-per-year ( -- value )
Next:day-of-year ( timestamp -- n )


Vocabulary
calendar

Inputs and outputs
timestampa timestamp
nan integer


Word description
Calculates the number of days in a given month.

Examples
USING: calendar prettyprint ; 2008 8 24 <date> days-in-month .
31


Definition