| Name | minute() |
|---|---|
| Examples |
def draw():
background(204)
s = second() # Values from 0 - 59
m = minute() # Values from 0 - 59
h = hour() # Values from 0 - 23
line(s, 0, s, 33)
line(m, 33, m, 66)
line(h, 66, h, 100)
|
| Description | Processing communicates with the clock on your computer. The minute() function returns the current minute as an integer from 0 - 59. |
| Syntax | minute() |
| Related |
millis() second() hour() day() month() year() |
Updated on Mon Sep 21 15:53:25 2020.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License