Description Usage Arguments Value Examples
This function accesses the /weekday endpoint of the Christmas Countdown API. The API returns an integer corresponding to the weekday that Christmas falls on. By default, this function returns a string representing the weekday, but an argument can be passed to specify returning the 1-based index integer instead.
1 |
return_index |
Whether to return the day as a 1-based index integer. Defaults to FALSE |
A string or an integer corresponding to the weekday that CHristmas falls on
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.