FDateTime::DaysInYear

Gets the number of days in the given year.

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 int32 DaysInYear
(
    int32 Year
)

Remarks

Gets the number of days in the given year.

Returns

The number of days.

Parameters

Parameter

Description

Year

The year.

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