IOnlineTime::GetLastServerUtcTime

Retrieve cached timestamp from last server time query

Choose your operating system:

Windows

macOS

Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineTimeInterface.h

Include

#include "Interfaces/OnlineTimeInterface.h"

Syntax

FString GetLastServerUtcTime()

Remarks

Retrieve cached timestamp from last server time query

Returns

string representation of time (yyyy.MM.dd-HH.mm.ss)