Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6II18n::wcsftime ( P6WCHAR pDst,
P6UINT32 pDstSize,
const P6WCHAR pFormat,
P6TIME  tod,
P6BOOL  inGMT 
)
pure virtual

L10N support: format time strings in a wide character local manner.

A P6R extension that supports "%k" which expands to display milliseconds has been added.

Parameters
pDst[ out ] Pointer to buffer to copy the generated time string.
pDstSize[ in ] Size of the buffer pointed to by pDst. [ out ] Size of the time string written into pDst.
pFormat[ in ] Format string uses a different set of expansion controls. Some of the supported controls are: "%T" (24 hours:minutes:seconds), "%r" (12 hours:minutes:seconds AM/PM), "%D" (month/day/year). "%H" 24 hour clock, "%M" minutes, "%S" seconds,
tod[ in ] Current time of day generated by calling p6ITime::now()
inGMT[ in ] If P6TRUE then use GMT time to generate time string, otherwise use local time.
Returns
SuccessP6R::eOk 
FailureP6R::eNoMemoryInsufficient memory to expand format string.
P6R::eFailCould not expand format string.
P6R::eNotInitializedA successful call to initialize was not made before this call.