The WEEKDAY() function returns the weekday of given date. If the method is 1 (default) WEEKDAY() returns 1 for sunday, 2 for monday,.. If the method is 2, monday is 1, tuesday 2,... and if the method is 3 WEEKDAY() returns 0 for monday, 1 for tuesday,...
De funksje WIKEKDEI () jout de wikedei werom fan in opjûne datum. As de metoade 1 is (standert), dan jout WIKEDEI () 1 foar snein, 2 foar moandei,... As de metoade 2 is, dan is moandei 1, tiisdei 2,... En is de metoade 3, dan jout WIKEDEI () 0 foar moandei, 1 foar tiisdei,...