### localdtconv -- Return Date and Time Formatting Convention

Format

>     #include <locale.h>
>     struct dtconv *localdtconv(void);

Language Level: Extension
localdtconv determines the date and time formatting conventions of the current locale and places the information in a structure of type struct dtconv.

Subsequent calls to localdtconv or to setlocale with LC_ALL or LC_TIME can overwrite the structure.

Return Value
localdtconv returns the address of the dtconv structure.

Example

localeconv -- Retrieve Numeric Formatting Convention
localtime -- Convert Time
setlocale -- Set Locale
strftime -- Convert to Formatted Time
strptime -- Convert to Formatted Date and Time
wcsftime -- Convert to Formatted Date and Time
<locale.h>