class

FDateTime

Module
Core
Header
#include "Core/FDateTime.h"
Namespace
Mowo

Properties

TypeNameDescription
constexpr bool operator<(FDateTime o) constnoexcept

Constructors

SignatureNameDescription
constexpr FDateTime() = defaultFDateTime
constexpr explicit FDateTime(int64_t microsecondsSinceEpoch) : m_us(microseconds…FDateTime

Public functions

ReturnsNameDescription
FDateTimeNowLOCAL time — subject to DST + timezone.
FDateTimeUtcNowUTC.
intGetYear
intGetMonth1-12
intGetDay1-31
intGetHour0-23
intGetMinute0-59
intGetSecond0-59
intGetMillisecond0-999
std::stringToIso8601"YYYY-MM-DDTHH:MM:SS", read as UTC — the caller is responsible for having stamped the value with UtcNow rather than Now.
std::stringToStringLocalised display, system-default format.
FTimespanoperator-
FDateTimeoperator+
booloperator==
booloperator!=
booloperator>
booloperator>=

Function details

FDateTime

C++
constexpr FDateTime() = default

FDateTime

C++
constexpr explicit FDateTime(int64_t microsecondsSinceEpoch) : m_us(microsecondsSinceEpoch)

Now

C++
static FDateTime Now()

LOCAL time — subject to DST + timezone.

UtcNow

C++
static FDateTime UtcNow()

UTC. Prefer for serialised timestamps.

GetYear

C++
int GetYear() const

GetMonth

C++
int GetMonth() const

1-12

GetDay

C++
int GetDay() const

1-31

GetHour

C++
int GetHour() const

0-23

GetMinute

C++
int GetMinute() const

0-59

GetSecond

C++
int GetSecond() const

0-59

GetMillisecond

C++
int GetMillisecond() const

0-999

ToIso8601

C++
std::string ToIso8601() const

"YYYY-MM-DDTHH:MM:SS", read as UTC — the caller is responsible for having stamped the value with UtcNow rather than Now.

ToString

C++
std::string ToString() const

Localised display, system-default format.

operator-

C++
constexpr FTimespan operator-(FDateTime o) const noexcept

operator+

C++
constexpr FDateTime operator+(FTimespan t) const noexcept

operator==

C++
constexpr bool operator==(FDateTime o) const noexcept

operator!=

C++
constexpr bool operator!=(FDateTime o) const noexcept

operator>

C++
constexpr bool operator>(FDateTime o) const noexcept

operator>=

C++
constexpr bool operator>=(FDateTime o) const noexcept
Generated from Core/FDateTime.h via core.json · Nov 5, 2026Version 1.0.0