day number by <date ...>

Features wanted...
Post Reply
zakhar
Posts: 179
Joined: 08 Sep 2010 21:13

day number by <date ...>

Post 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.

zakhar
Posts: 179
Joined: 08 Sep 2010 21:13

Re: day number by <date ...>

Post 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".

Post Reply