Clock() Examples Clock() The date and time of the computer the program runs on, the same values Scratch's "current [year]" and "days since 2000" blocks report. Example usage: this.setDirection(Clock.getSecond() * 6); Examples Fullscreen View on GitHub Clock() Create Shareable URL Standalone Mode Select Sections Clock() Examples Copy Shareable URL