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

# SDL\_DateFormat(3type)

The preferred date format of the current system locale.

## NAME

SDL\_DateFormat - The preferred date format of the current system locale.

## HEADER FILE

Defined in SDL3/SDL\_time.h

## SYNOPSIS

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

**typedef enum SDL\_DateFormat** **{**     **SDL\_DATE\_FORMAT\_YYYYMMDD = 0, /\*\*\< Year/Month/Day \*/**     **SDL\_DATE\_FORMAT\_DDMMYYYY = 1, /\*\*\< Day/Month/Year \*/**     **SDL\_DATE\_FORMAT\_MMDDYYYY = 2  /\*\*\< Month/Day/Year \*/** **} SDL\_DateFormat;**

## AVAILABILITY

This enum is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_GetDateTimeLocalePreferences**(3)](/SDL_GetDateTimeLocalePreferences/3.md)
