Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_calendar
month/1
Description
month/1 is an Erlang function exported by "age_calendar" module.
Converts month number into an atom.
References
None
Parameters
Name
Type
Month
integer()
Integer number of the month of year.
Result
Value or Type
atom() | undefined
Returns month of the year represented as atom, or undefined when is out of range.
Code Sample
> age_calendar:month(1). january > age_calendar:month(12). december > age_calendar:month(13). undefined