FTimespan::FromSeconds

Create a time span that represents the specified number of 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

static FTimespan FromSeconds
(
    double Seconds
)

Remarks

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

Returns

Time span.

Parameters

Parameter

Description

Seconds

The number of seconds.

See Also