# [NTG-context] Weekdays and others as numbers

Jairo A. del Rio jairoadelrio6 at gmail.com
Fri Jan 8 17:52:19 CET 2021

```ConTeXt has some inbuilt functions for dates. I see that the following

\mainlanguage[spanish]
\starttext

\dayoftheweek{4}{5}{1992}

\stoptext

gives "lunes" (Monday). How to get a weekday number (2 in this case)