Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetTextLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetTextLibrary.h |
Include | #include "Kismet/KismetTextLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Private/KismetTextLibrary.cpp |
UFUNCTION (BlueprintPure, Meta=(DisplayName="As Time (from UTC)", AdvancedDisplay="1"),
Category="Utilities|Text")
static FText AsTimeZoneTime_DateTime
(
const FDateTime & InDateTime,
const FString & InTimeZone,
TEnumAsByte < EDateTimeStyle::Type > InTimeStyle
)
Remarks
Converts a passed in date & time to a text, formatted as a time using the given timezone (default is the local timezone). This will convert the given date & time from UTC to the given timezone (taking into account DST).