---
name: "OLE_GetFormatA"
section: "3w"
platform: "linux"
package: "wine-doc"
version: "0.0.980315-1"
release: "Debian 2.0 (Hamm)"
platforms: ["linux"]
url: "https://new.carta.tech/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)](/GetUserDefaultLCID/3w.md), [GetSystemDefaultLCID(3w)](/GetSystemDefaultLCID/3w.md), [GetUserDefaultLangID(3w)](/GetUserDefaultLangID/3w.md), [GetSystemDefaultLangID(3w)](/GetSystemDefaultLangID/3w.md), [GetLocaleInfo16(3w)](/GetLocaleInfo16/3w.md), [GetLocaleInfo32W(3w)](/GetLocaleInfo32W/3w.md), [CompareString16(3w)](/CompareString16/3w.md), [CompareString32A(3w)](/CompareString32A/3w.md), [CompareString32W(3w)](/CompareString32W/3w.md), [SetLocaleInfoA(3w)](/SetLocaleInfoA/3w.md), [IsValidLocale(3w)](/IsValidLocale/3w.md), [EnumSystemLocales32W(3w)](/EnumSystemLocales32W/3w.md), [EnumSystemLocales32A(3w)](/EnumSystemLocales32A/3w.md), [GetStringType16(3w)](/GetStringType16/3w.md), [GetStringType32A(3w)](/GetStringType32A/3w.md), [GetStringTypeEx32A(3w)](/GetStringTypeEx32A/3w.md), [GetStringType32W(3w)](/GetStringType32W/3w.md), [GetStringTypeEx32W(3w)](/GetStringTypeEx32W/3w.md), [VerLanguageName16(3w)](/VerLanguageName16/3w.md), [VerLanguageName32A(3w)](/VerLanguageName32A/3w.md), [VerLanguageName32W(3w)](/VerLanguageName32W/3w.md), [LCMapString32W(3w)](/LCMapString32W/3w.md), [GetDateFormat32A(3w)](/GetDateFormat32A/3w.md), [GetDateFormat32W(3w)](/GetDateFormat32W/3w.md), [GetTimeFormat32A(3w)](/GetTimeFormat32A/3w.md), [GetTimeFormat32W(3w)](/GetTimeFormat32W/3w.md)
