Hello Folks,
I want to return the current date as an index. So, I was using the weekday function WEEKDAY(NOW( )).
But whenever I execute the query, I was getting the function not found error. Can anyone of you suggest me how to enable these functions so that I can use them.
Any help will be highly appreciated.
Thanks in advance!!
Also attaching my code for your reference.
Suggest me if there are any errors in my code or some other way where I can return the current day index.