FTimespan::FromHours

Create a time span that represents the specified number of hours.

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

static FTimespan FromHours
(
    double Hours
)

Remarks

Create a time span that represents the specified number of hours.

Returns

Time span.

Parameters

Parameter

Description

Hours

The number of hours.

See Also