day number by <date ...>
Posted: 13 Nov 2018 11:25
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.
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.