FTimespan::FTimespan

Create and initialize a new time interval with the specified number of days, hours, minutes and seconds.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/Timespan.h

Include

#include "Misc/Timespan.h"

Syntax

FTimespan
(
    int32 Days,
    int32 Hours,
    int32 Minutes,
    int32 Seconds
)

Remarks

Create and initialize a new time interval with the specified number of days, hours, minutes and seconds.

For better readability, consider using FromDays, FromHours, FromMinutes and FromSeconds.

Parameters

Parameter

Description

Days

The days component.

Hours

The hours component.

Minutes

The minutes component.

Seconds

The seconds component.

See Also

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