ReferenceScript nodesMath › Date and Time
Get Hour
The hour now, a whole number from 0 to 23 (13 all through one o'clock in the afternoon).
ƒGet Hour
Result
Inputs
None.
Outputs
| Pin | Type |
|---|---|
Resulthour | number |
In a graph
◆On Scene Start
ƒGet Hour
Result
ƒPrint
In Text
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.