Hi,
Is it possible to have Robotask find out the day of the week for a specific date (Not the current date) stored in a variable?
{DayOfWeek} and {DayOfWeekNo} only shows the day of the week for the current date.
Thank you
JP
Day of week for a specific date
Re: Day of week for a specific date
use the expression {DayOfWeek(01.01.2010)}
Specify necessary date in you current system format
Specify necessary date in you current system format
Oleg Yershov
Re: Day of week for a specific date
Hi Oleg,
Thank you for your reply.
The suggestion still doesn't work. {DayOfWeek(2025-10-16)} still gives me today's day of week.
See attached image.
Any ideas of a workaround for this?
Thank you
JP
Thank you for your reply.
The suggestion still doesn't work. {DayOfWeek(2025-10-16)} still gives me today's day of week.
See attached image.
Any ideas of a workaround for this?
Thank you
JP
- Attachments
-
- Robotask DayOfWeek.png (23.01 KiB) Viewed 170 times
Re: Day of week for a specific date
You need enter the date in you current system date format
thy these strings
Also I'm afraid that hyphens in the system format and in the action parameters are different symbols (see screenshot).
So the action can not recognize your string
thy these strings
Code: Select all
{Date}
{DayOfWeek}
{DayOfWeek({FormatToDateTime(2025-10-16,yyyy-mm-dd)})}
Oleg Yershov