FGenericPlatformMisc::GetTimeZoneId

Get the timezone identifier for this platform, or an empty string if the default timezone calculation will work.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h

Include

#include "GenericPlatform/GenericPlatformMisc.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp

Syntax

static FString GetTimeZoneId()

Remarks

Get the timezone identifier for this platform, or an empty string if the default timezone calculation will work.

This should return either an Olson timezone (eg, "America/Los_Angeles") or an offset from GMT/UTC (eg, "GMT-8:00").

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss