---
name: "OLE_GetFormatA"
section: "3w"
platform: "linux"
package: "wine-doc"
version: "0.0.980315-1"
release: "Debian 2.0 (Hamm)"
platforms: ["linux"]
url: "https://carta.tech/man/OLE_GetFormatA"
---

# OLE\_GetFormatA(3w)

OLE\_GetFormatA()

## NAME

OLE\_GetFormatA - OLE\_GetFormatA()

## SYNOPSIS

**INT32 OLE\_GetFormatA**\
 **(**\
\
 	**LCID locale,**\
\
 	**DWORD flags,**\
\
 	**LPSYSTEMTIME xtime,**\
\
 	**LPCSTR format,**\
\
 	**LPSTR date,**\
\
 	**INT32 datelen**\
 **);**

## DESCRIPTION

OLE\_GetFormatW()

This function implements stuff for GetDateFormat() and GetTimeFormat().

D    single-digit (no leading zero) day (of month) dd   two-digit day (of month) ddd  short day-of-week name dddd long day-of-week name M    single-digit month MM   two-digit month MMM  short month name MMMM full month name y    two-digit year, no leading 0 yy   two-digit year yyyy four-digit year gg   era string h    hours with no leading zero (12-hour) hh   hours with full two digits H    hours with no leading zero (24-hour) HH   hours with full two digits m    minutes with no leading zero mm   minutes with full two digits s    seconds with no leading zero ss   seconds with full two digits t    time marker (A or P) tt   time marker (AM, PM)

These functions REQUIRE valid locale, date,  and format.

## SEE ALSO

[GetUserDefaultLCID(3w)](/man/GetUserDefaultLCID/3w.md), [GetSystemDefaultLCID(3w)](/man/GetSystemDefaultLCID/3w.md), [GetUserDefaultLangID(3w)](/man/GetUserDefaultLangID/3w.md), [GetSystemDefaultLangID(3w)](/man/GetSystemDefaultLangID/3w.md), [GetLocaleInfo16(3w)](/man/GetLocaleInfo16/3w.md), [GetLocaleInfo32W(3w)](/man/GetLocaleInfo32W/3w.md), [CompareString16(3w)](/man/CompareString16/3w.md), [CompareString32A(3w)](/man/CompareString32A/3w.md), [CompareString32W(3w)](/man/CompareString32W/3w.md), [SetLocaleInfoA(3w)](/man/SetLocaleInfoA/3w.md), [IsValidLocale(3w)](/man/IsValidLocale/3w.md), [EnumSystemLocales32W(3w)](/man/EnumSystemLocales32W/3w.md), [EnumSystemLocales32A(3w)](/man/EnumSystemLocales32A/3w.md), [GetStringType16(3w)](/man/GetStringType16/3w.md), [GetStringType32A(3w)](/man/GetStringType32A/3w.md), [GetStringTypeEx32A(3w)](/man/GetStringTypeEx32A/3w.md), [GetStringType32W(3w)](/man/GetStringType32W/3w.md), [GetStringTypeEx32W(3w)](/man/GetStringTypeEx32W/3w.md), [VerLanguageName16(3w)](/man/VerLanguageName16/3w.md), [VerLanguageName32A(3w)](/man/VerLanguageName32A/3w.md), [VerLanguageName32W(3w)](/man/VerLanguageName32W/3w.md), [LCMapString32W(3w)](/man/LCMapString32W/3w.md), [GetDateFormat32A(3w)](/man/GetDateFormat32A/3w.md), [GetDateFormat32W(3w)](/man/GetDateFormat32W/3w.md), [GetTimeFormat32A(3w)](/man/GetTimeFormat32A/3w.md), [GetTimeFormat32W(3w)](/man/GetTimeFormat32W/3w.md)
