Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LOCALE_SDURATION

Windows Vista and later: Time duration format composed of format pictures listed in the following table. The format is similar to the format for LOCALE_STIMEFORMAT. As for LOCALE_STIMEFORMAT, this format can also include any string of characters enclosed in single quotes. Formats can include, for example, "h:mm:ss", or "d'd 'h'h 'm'm 's.fff's'". In comparison with LOCALE_STIMEFORMAT, there are additional format pictures for fractions of a second. Because this format is for duration, not time, it does not specify a 12- or 24-hour clock system, or include an AM/PM indicator. This constant might be used, for example, for a multi-media application that displays file time or a sporting event application that displays finish times.

ValueMeaning
hHours without leading zeros for single-digit hours
hhHours with leading zeros for single-digit hours
mMinutes without leading zeros for single-digit minutes
mmMinutes with leading zeros for single-digit minutes
sSeconds without leading zeros for single-digit seconds
ssSeconds with leading zeros for single-digit seconds
fTenths of a second
ffHundredths of a second
fffThousandths of a second; character "f" can occur up to nine consecutive times (fffffffff), although support for frequency timers is limited to 100 nanoseconds; if nine characters are present, the last two digits are always zero

 

 

 

Show:
© 2017 Microsoft