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).

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback