NAME

GetDateFormatEx  (KERNEL32.@)

SYNOPSIS

 INT GetDateFormatEx
 (
  LPCWSTR           localename,
  DWORD             flags,
  const SYSTEMTIME* date,
  LPCWSTR           format,
  LPWSTR            outbuf,
  INT               bufsize,
  LPCWSTR           calendar
 )

DESCRIPTION

Format a date for a given locale.

PARAMS

localename [In] Locale to format for.
flags [In] LOCALE_ and DATE_ flags from "winnls.h".
date [In] Date to format.
format [In] Format string, or NULL to use the locale defaults.
outbuf [Out] Destination for formatted string.
bufsize [In] Size of outbuf, or 0 to calculate the resulting size.
calendar [In] Reserved, must be NULL.
See GetDateFormatA for notes.

RETURNS

Success: The number of characters written to outbuf, or that would have been written if bufsize is 0.

Failure: 0. Use GetLastError to determine the cause.

IMPLEMENTATION

Declared in "winnls.h". https://source.winehq.org/source/include/winnls.h

Implemented in "dlls/kernel32/lcformat.c". https://source.winehq.org/source/dlls/kernel32/lcformat.c

Debug channel "nls".


Copyright © 2020 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2020.