Hi,
Can anyone help me with the syntax for DayOfWeek? I’ve tried DayOfWeek = Wed, DayOfWeek = “Wednesday” and DayofWeek = Wednesday, but it doesn’t seem to like any of these. Anyone know the answer?
Thanks,
Nick
You can search “DayOfWeek” using the search box that opens whenever your mouse hovers above your avatar. You’ll find out many examples in the forum and the official description.
DayOfWeek (see also OpenDayOfWeek and CurrentDayOfWeek) returns 1 for Monday, 2 for Tuesday and so on…
Link https://www.prorealcode.com/documentation/currentdayofweek/.
Roberto
Hi Roberto,
Thanks! Two questions answered for the price of one! I’ve been wondering how to search the forums for a while.
Much appreciated.
Nick