DWStrYearMonthFormatStringfunction
Returns the year-month formatting string for the locale.
Syntax
FUNCTION DWStrYearMonthFormatString (BYVAL pwszLocale AS WSTRING PTR = LOCALE_NAME_USER_DEFAULT) AS DWSTRING
Parameters
| Name | Description | |
|---|---|---|
pwszLocale | Pointer to a locale name, or one of the following predefined values: LOCALE_NAME_INVARIANT, LOCALE_NAME_SYSTEM_DEFAULT, LOCALE_NAME_USER_DEFAULT |
Description
The year-month formatting string for the locale. The maximum number of characters allowed for this string is 80, including a terminating null character. This string shows the proper format for a date string that contains only the year and the month, using format pictures as defined in Day, Month, Year, and Era Format Pictures.
Reference
- Include file
DWSTRProcs.inc - Defined in AfxNova/DWStrProcs.inc:2400
- Documented in String Management/DWString Procedures.md
- Topic: String Procedures