Description Usage Arguments Value Examples
It acts similiarly to Excel's WEEKDAY function. It tells you the weekday of the date's day either in number format or character format.
1 |
date |
What date should it take to get the weekday from. For example: "23-06-2020" |
return |
Should it return number or should it return the day in the characters format. Specify in quotes number if you want it to return number, specify character if you want to get the character, like Monday |
In the first case we get the number formatted 1st February of 2020 which is 6. We plug in the same date in the 2nd example and we specify the return argument "character", therefore it gives us the "Saturday" in character format. Function returns either character or numeric class.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.