Page 1 of 1

day number by <date ...>

Posted: 13 Nov 2018 11:25
by zakhar
Hello, forum!
I think it would be useful for all users of the <date ...> variable that this variable could retrieve the number of the actual day of the week (like 1 = Monday and so on)
and the week number of the year. I mean the same functionality as in the AutoIt3's @WDAY macro.
A possible addition to the above described function could be retrieving of a shifted number of the day of the week:
something like <date dn -7d yyyy-mm-dd>, where the "dn" is the "day number" of "-7d yyyy-mm-dd" and the return would be a string "dn yyyy-mm-dd".
Thank you.

Re: day number by <date ...>

Posted: 13 Nov 2018 12:05
by zakhar
Sorry, a moment ago I have discovered that the desired functionality is given by <date ISOWeek> !
My suggestion therefor is to add some readable words in the help file that would enable the user
to find this functionality by searching the help file by human words like "day number".
I think it is impossible to find this function if you do not know, that it corresponds with ISO and can be found under "ISOWeek".