module Processing::Core::Input::Time

Direct including types

Defined in:

processing/core/input/time.cr

Instance Method Summary

Instance Method Detail

def day : Int32 #

The current day number (1 - 31).


[View source]
def hour : Int32 #

The current hour (0 - 23).


[View source]
def millis : Int32 #

The number of milliseconds since the program started.


[View source]
def minute : Int32 #

The current minute (0 - 59).


[View source]
def month : Int32 #

The current month (1 - 12).


[View source]
def second : Int32 #

The current second (0 - 59).


[View source]
def year : Int32 #

The current year number (2021, 2022, etc).


[View source]