FDateTime::ParseIso8601

Parses a date string in ISO-8601 format.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/DateTime.h

Include

#include "Misc/DateTime.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/DateTime.cpp

Syntax

static bool ParseIso8601
(
    const TCHAR * DateTimeString,
    FDateTime & OutDateTime
)

Remarks

Parses a date string in ISO-8601 format.

Returns

true if the string was converted successfully, false otherwise.

Parameters

Parameter

Description

DateTimeString

The string to be parsed

OutDateTime

FDateTime object (in UTC) corresponding to the input string (which may have been in any timezone).

See Also

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