NAME

GetTimeFormatEx  (KERNEL32.@)

SYNOPSIS

 INT GetTimeFormatEx
 (
  LPCWSTR           localename,
  DWORD             flags,
  const SYSTEMTIME* time,
  LPCWSTR           format,
  LPWSTR            outbuf,
  INT               bufsize
 )

DESCRIPTION

Format a date for a given locale.

PARAMS

localename [In] Locale to format for.
flags [In] LOCALE_ and TIME_ flags from "winnls.h".
time [In] Time to format.
format [In] Formatting overrides.
outbuf [Out] Destination for formatted string.
bufsize [In] Size of outbuf, or 0 to calculate the resulting size.
See GetTimeFormatA for notes.

RETURNS

Success: The number of characters written to outbuf, or that would have 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.