Scratch for Java

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

getDayOfWeek()

Create Shareable URL

Select Sections