FDateTime::GetHour

Gets this date's hour part in 24-hour clock format (0 to 23).

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/DateTime.h"

Syntax

int32 GetHour() const

Remarks

Gets this date's hour part in 24-hour clock format (0 to 23).

Returns

The hour.

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