FDateTime::FDateTime

Creates and initializes a new instance with the specified year, month, day, hour, minute, second and millisecond.

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

FDateTime
(
    int32 Year,
    int32 Month,
    int32 Day,
    int32 Hour,
    int32 Minute,
    int32 Second,
    int32 Millisecond
)

Remarks

Creates and initializes a new instance with the specified year, month, day, hour, minute, second and millisecond.

Parameters

Parameter

Description

Year

The year.

Month

The month.

Day

The day.

Hour

The hour (optional).

Minute

The minute (optional).

Second

The second (optional).

Millisecond

The millisecond (optional).

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