OpenTTD Source: UTCTimeToStruct Struct Reference

OpenTTD Source 13.1

Static Public Member Functions
UTCTimeToStruct Struct Reference

Helper for safely converting a std::time_t to a UTC time std::tm using gmtime_s. More...

`#include <walltime_func.h>`

## Static Public Member Functions
static std::tm | ToTimeStruct (std::time_t time_since_epoch)

## Detailed Description

Helper for safely converting a std::time_t to a UTC time std::tm using gmtime_s.

Definition at line 31 of file walltime_func.h.

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

- src/walltime_func.h