The DayOfWeek function found in the Macro Scheduler only allows the return of today's day of the week, from what I see. Is there any way to look at a certain date and return that day's day of the week?
Thanks for reading.
Returning Day of Week based on Date
Moderators: Dorian (MJT support), JRL
Re: Returning Day of Week based on Date
Hi, try the following (where the second argument, 2, says that first day of week is Monday. You can select any weekday as start of week)
View Snippet Page
View Snippet Page
Re: Returning Day of Week based on Date
In case it was not clear, when you set Monday as start of week then, the the formula will return a 1 for Monday, 2 for Tuesday, etc. There is also a function WeekdayName which gives the day name in clear text.
View Snippet Page
View Snippet Page