Date Time

Date Time

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

DateTime - DateTime

Subtraction (A - B)

Target is Kismet Math Library

DateTime - Timespan

Subtraction (A - B)

Target is Kismet Math Library

DateTime > DateTime

Returns true if A is greater than B (A > B)

Target is Kismet Math Library

DateTime >= DateTime

Returns true if A is greater than or equal to B (A >= B)

Target is Kismet Math Library

DateTime < DateTime

Returns true if A is less than B (A < B)

Target is Kismet Math Library

DateTime <= DateTime

Returns true if A is less than or equal to B (A <= B)

Target is Kismet Math Library

DateTime + DateTime

Addition (A + B)

Target is Kismet Math Library

DateTime + Timespan

Addition (A + B)

Target is Kismet Math Library

DaysInMonth

Returns the number of days in the given year and month

Target is Kismet Math Library

DaysInYear

Returns the number of days in the given year

Target is Kismet Math Library

Equal (DateTime)

Returns true if the values are equal (A == B)

Target is Kismet Math Library

GetDate

Returns the date component of A

Target is Kismet Math Library

GetDay

Returns the day component of A (1 to 31)

Target is Kismet Math Library

GetDayOfYear

Returns the day of year of A

Target is Kismet Math Library

GetHour

Returns the hour component of A (24h format)

Target is Kismet Math Library

GetHour12

Returns the hour component of A (12h format)

Target is Kismet Math Library

GetMillisecond

Returns the millisecond component of A

Target is Kismet Math Library

GetMinute

Returns the minute component of A

Target is Kismet Math Library

GetMonth

Returns the month component of A

Target is Kismet Math Library

GetSecond

Returns the second component of A

Target is Kismet Math Library

GetTimeOfDay

Returns the time elapsed since midnight of A

Target is Kismet Math Library

GetYear

Returns the year component of A

Target is Kismet Math Library

IsAfternoon

Returns whether A's time is in the afternoon

Target is Kismet Math Library

IsLeapYear

Returns whether given year is a leap year

Target is Kismet Math Library

IsMorning

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

MaxValue

Returns the maximum date and time value

Target is Kismet Math Library

MinValue

Returns the minimum date and time value

Target is Kismet Math Library

Not Equal (DateTime)

Returns true if the values are not equal (A != B)

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

UtcNow

Returns the UTC date and time on this computer

Target is Kismet Math Library

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss