GetDateFormatEx  (KERNEL32.@)


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


Format a date for a given locale.


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.


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.


Declared in "winnls.h".

Implemented in "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.