Date Time

Date Time

Choose your operating system:

Windows

macOS

Linux

On this page

Actions

Break Date Time

Breaks a DateTime into its components

Target is Kismet Math Library

Date Time from Iso String

Converts a date string in ISO-8601 format to a DateTime object

Target is Kismet Math Library

Date Time from String

Converts a date string to a DateTime object

Target is Kismet Math Library

Days In Month

Returns the number of days in the given year and month

Target is Kismet Math Library

Days In Year

Returns the number of days in the given year

Target is Kismet Math Library

Get Date

Returns the date component of A

Target is Kismet Math Library

Get Day

Returns the day component of A (1 to 31)

Target is Kismet Math Library

Get Day Of Year

Returns the day of year of A

Target is Kismet Math Library

Get Hour

Returns the hour component of A (24h format)

Target is Kismet Math Library

Get Hour 12

Returns the hour component of A (12h format)

Target is Kismet Math Library

Get Millisecond

Returns the millisecond component of A

Target is Kismet Math Library

Get Minute

Returns the minute component of A

Target is Kismet Math Library

Get Month

Returns the month component of A

Target is Kismet Math Library

Get Second

Returns the second component of A

Target is Kismet Math Library

Get Time Of Day

Returns the time elapsed since midnight of A

Target is Kismet Math Library

Get Year

Returns the year component of A

Target is Kismet Math Library

Is Afternoon

Returns whether A's time is in the afternoon

Target is Kismet Math Library

Is Leap Year

Returns whether given year is a leap year

Target is Kismet Math Library

Is Morning

Returns whether A's time is in the morning

Target is Kismet Math Library

Make Date Time

Makes a DateTime struct

Target is Kismet Math Library

Max Value (DateTime)

Returns the maximum date and time value

Target is Kismet Math Library

MinValue (DateTime)

Returns the minimum date and time value

Target is Kismet Math Library

Now

Returns the local date and time on this computer

Target is Kismet Math Library

Today

Returns the local date on this computer

Target is Kismet Math Library

UTC Now

Returns the UTC date and time on this computer

Target is Kismet Math Library