Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_calendar
week_day/1
Description
week_day/1 is an Erlang function exported by "age_calendar" module.
Returns the day of week by selected date stamp.
References
•date/0
Parameters
Name
Type
Date
tuple()
{Year, Month, Day}
Result
Value or Type
atom()
Day of the week represented as atom.
Code Sample
> age_calendar:week_day({2020, 7, 30}). thursday