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) instead?

Sincerely,

Jairo