hour()
Get system's hour
Last updated
Get system's hour

text('Current Hour:',200,250)
text(hour(), width/2, height/2)It returns the current hour of the day as an integer, ranging from 0 to 23.
Find these documents helpful? Let the people who made them help your child learn to code at Strivemath!
We'd love to hear your Feedback/Comments here.
Last updated
hour()