FTimespan::FTimespan

Create and initialize a new time interval with the specified number of 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 Hours,
    int32 Minutes,
    int32 Seconds
)

Remarks

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

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

Parameters

Parameter

Description

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