---
name: "SDL_TimeToWindows"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_TimeToWindows"
---

# SDL\_TimeToWindows(3)

Converts an SDL time into a Windows FILETIME (100-nanosecond intervals since January 1, 1601).

## NAME

SDL\_TimeToWindows - Converts an SDL time into a Windows FILETIME (100-nanosecond intervals since January 1, 1601).

## HEADER FILE

Defined in SDL3/SDL\_time.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**void SDL\_TimeToWindows(SDL\_Time ticks, Uint32 \*dwLowDateTime, Uint32 \*dwHighDateTime);**

## DESCRIPTION

This function fills in the two 32-bit values of the FILETIME structure.

## FUNCTION PARAMETERS

- *ticks*

  the time to convert.

- *dwLowDateTime*

  a pointer filled in with the low portion of the Windows FILETIME value.

- *dwHighDateTime*

  a pointer filled in with the high portion of the Windows FILETIME value.

## AVAILABILITY

This function is available since SDL 3.2.0.
