Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetTextLibrary
Description
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).
| Name | AsTimeZoneTime_DateTime |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetTextLibrary.h |
| Include Path | #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
)