On 16/12/2024 21:03, Pablo Rodriguez via ntg-context wrote:
Besides, I think \normalday could be way more useful if it could
increment the whole date, not only the day number.
does this help?
https://www.lua.org/pil/22.1.html
> nn = os.date("*t", os.time{year=2024, month=12+15, day=16+19})
> nn.year, nn.month, nn.day
To produce a date table, we use the format string "*t". For instance,
the following code
temp = os.date("*t", 906000490)
produces the table
{year = 1998, month = 9, day = 16, yday = 259, wday = 4,
hour = 23, min = 48, sec = 10, isdst = false}
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________