FDateTime::GetDate

Gets the date components of this date.

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

void GetDate
(
    int32 & OutYear,
    int32 & OutMonth,
    int32 & OutDay
) const

Remarks

Gets the date components of this date.

Parameters

Parameter

Description

OutYear

Will contain the year.

OutMonth

Will contain the number of the month (1-12).

OutDay

Will contain the number of the day (1-31).

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