---
name: "SDL_TimeFromWindows"
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_TimeFromWindows"
---

# SDL\_TimeFromWindows(3)

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

## NAME

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

## HEADER FILE

Defined in SDL3/SDL\_time.h

## SYNOPSIS

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

**SDL\_Time SDL\_TimeFromWindows(Uint32 dwLowDateTime, Uint32 dwHighDateTime);**

## DESCRIPTION

This function takes the two 32-bit values of the FILETIME structure as parameters.

## FUNCTION PARAMETERS

- *dwLowDateTime*

  the low portion of the Windows FILETIME value.

- *dwHighDateTime*

  the high portion of the Windows FILETIME value.

## RETURN VALUE

( **SDL\_Time** ) Returns the converted SDL time.

## AVAILABILITY

This function is available since SDL 3.2.0.
