pub unsafe extern "C" fn SDL_DateTimeToTime(
dt: *const SDL_DateTime,
ticks: *mut SDL_Time,
) -> boolExpand description
Converts a calendar time to an SDL_Time in nanoseconds since the epoch.
This function ignores the day_of_week member of the SDL_DateTime struct, so
it may remain unset.
§Parameters
dt: the sourceSDL_DateTime.ticks: the resultingSDL_Time.
§Return value
Returns true on success or false on failure; call SDL_GetError() for more
information.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.2.0.