Skip to content

fplDateTime Struct Reference

Finalspace edited this page May 29, 2026 · 1 revision

Stores a date and time with milliseconds, including the UTC offset. More...

#include <final_platform_layer.h>

Data Fields

Type Name
uint64_t epoch
Unix epoch in seconds since 1970-01-01 00:00:00. Unsigned because pre-1970 dates are not supported.
uint32_t milliseconds
Milliseconds that are added after the epoch.
int32_t utcOffset
UTC offset in minutes, to convert back into UTC format. This is zero when the date time is UTC or +0.

Detailed Description

Stores a date and time with milliseconds, including the UTC offset.

Note: Pre-1970 dates are intentionally not supported —

epoch is unsigned and

fplDateTimeCreate rejects

year < 1970 .

Definition at line 4717 of file final_platform_layer.h.

Field Documentation

epoch

uint64_t fplDateTime::epoch

Unix epoch in seconds since 1970-01-01 00:00:00. Unsigned because pre-1970 dates are not supported.

Definition at line 4719 of file final_platform_layer.h.

milliseconds

uint32_t fplDateTime::milliseconds

Milliseconds that are added after the epoch.

Definition at line 4721 of file final_platform_layer.h.

utcOffset

int32_t fplDateTime::utcOffset

UTC offset in minutes, to convert back into UTC format. This is zero when the date time is UTC or +0.

Definition at line 4723 of file final_platform_layer.h.


The documentation for this struct was generated from the following file:

Final Platform Layer

Pages

Topics

Data Structures

Clone this wiki locally