SDL_DateTimeToTime - Man Page
Converts a calendar time to an SDL_Time in nanoseconds since the epoch.
Synopsis
#include <SDL3/SDL_time.h> bool SDL_DateTimeToTime(const SDL_DateTime *dt, SDL_Time *ticks);
Description
This function ignores the day_of_week member of the SDL_DateTime struct, so it may remain unset.
Function Parameters
- dt
the source SDL_DateTime.
- ticks
the resulting SDL_Time.
Return Value
for more information.
Availability
This function is available since SDL 3.2.0.
Info
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS