Clock::getDayOfWeek()
Returns the current day of the week, from 1 for Monday to 7 for Sunday.
Syntax
Java
.getDayOfWeek()
Scratch
(current [day of week v])
Return
int
Returns the current day of the week, from 1 for Monday to 7 for Sunday.
.getDayOfWeek()
(current [day of week v])
int