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.
Parameter: dt the source SDL_DateTime. Parameter: ticks the resulting SDL_Time. 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.
Available Since: This function is available since SDL 3.2.0.