FTimespan::FTimespan

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

Choose your operating system:

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