Timespan

Timespan

Choose your operating system:

Windows

macOS

Linux

On this page

Actions

Break Timespan

Breaks a Timespan into its components

Target is Kismet Math Library

Break Timespan 2

Breaks a Timespan into its components

Target is Kismet Math Library

From Days

Returns a time span that represents the specified number of days

Target is Kismet Math Library

From Hours

Returns a time span that represents the specified number of hours

Target is Kismet Math Library

From Milliseconds

Returns a time span that represents the specified number of milliseconds

Target is Kismet Math Library

From Minutes

Returns a time span that represents the specified number of minutes

Target is Kismet Math Library

From Seconds

Returns a time span that represents the specified number of seconds

Target is Kismet Math Library

Get Days

Returns the days component of A

Target is Kismet Math Library

Get Duration

Returns the absolute value of A

Target is Kismet Math Library

Get Hours

Returns the hours component of A

Target is Kismet Math Library

Get Milliseconds

Returns the milliseconds component of A

Target is Kismet Math Library

Get Minutes

Returns the minutes component of A

Target is Kismet Math Library

Get Seconds

Returns the seconds component of A

Target is Kismet Math Library

Get Total Days

Returns the total number of days in A

Target is Kismet Math Library

Get Total Hours

Returns the total number of hours in A

Target is Kismet Math Library

Get Total Milliseconds

Returns the total number of milliseconds in A

Target is Kismet Math Library

Get Total Minutes

Returns the total number of minutes in A

Target is Kismet Math Library

Get Total Seconds

Returns the total number of seconds in A

Target is Kismet Math Library

Make Timespan

Makes a Timespan struct

Target is Kismet Math Library

Make Timespan 2

Makes a Timespan struct

Target is Kismet Math Library

Max Value (Timespan)

Returns the maximum time span value

Target is Kismet Math Library

Min Value (Timespan)

Returns the minimum time span value

Target is Kismet Math Library

Timespan from String

Converts a time span string to a Timespan object

Target is Kismet Math Library

Timespan Ratio

Returns the ratio between two time spans (A / B), handles zero values

Target is Kismet Math Library

Zero Value (Timespan)

Returns a zero time span value

Target is Kismet Math Library