Return the number of days (
0..6) since the last Sunday.
This function does not generate an event.
Returns the day of the week as a number between
0 (Sunday) and
This code uses
weekday()as an example:
datetime(2020, 12, 10).weekday();
Return value in JSON format