Navigation
Unreal Engine C++ API Reference > Runtime > Core > Internationalization > FText
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Internationalization/Text.h |
Include | #include "Internationalization/Text.h" |
Source | /Engine/Source/Runtime/Core/Private/Internationalization/Text.cpp |
static FText AsDate
&40;
const FDateTime & DateTime,
const EDateTimeStyle::Type DateStyle,
const FString & TimeZone,
const FCulturePtr & TargetCulture
&41;
Remarks
Generate an FText that represents the passed number as a date and/or time in the current culture
The overload using a custom pattern uses strftime-like syntax (see FDateTime::ToFormattedString)