16 Dec
2024
16 Dec
'24
8:30 p.m.
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}