Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_calendar
week_day/3
Description
week_day/3 is an Erlang function exported by "age_calendar" module.
Returns the day of week by selected year, month and day as separated integer values.
References
None
Parameters
Name
Type
Year
integer()
Year as integer value.
Month
Month as integer value.
Day
Day as integer value.
Result
Value or Type
atom()
Day of the week represented as atom.
Code Sample
> age_calendar:week_day(2020, 1, 20). monday