Scratch for Java

Stage::getCurrentHour()

Returns the current hour

Syntax

Java

.getCurrentHour()

Return

int

getCurrentHour()