Motion
Get Motion

ReferenceScript nodesMath › Date and Time

Get Time of Day

The time of day where the wallpaper is; weekday 0 is Sunday, Day Fraction goes from 0 at midnight to 1.

Math › Date and TimePure: no flow pinsclock

Inputs

None.

Outputs

PinType
Hourhoursnumber
Minuteminutesnumber
Secondsecondsnumber
Day of Weekweekdaynumber
Day Fractiondaynumber

The code it becomes

The graph below written as a script would write it.

// On Scene Startscene.log((new Date().getHours()));

In a graph

The node with what starts it and Print to show what it gives, as Studio draws them.