The Locale Explorer: GetTimeFormat, GetDateFormat, GetNumberFormat

Back To Tips Page

Back to LocaleExplorer


This is an example of using GetTimeFormat. The code in the lower edit control is the code that would be written to retrieve the highlighted feature. This code can be copied and pasted into an application and either used directly or form the basis of your own code.


This is an example of GetDateFormat. Note the use of custom formats.


This shows the use of GetNumberFormat. In this example, a custom number format using Indic grouping is shown.

[Dividing Line Image]

The views expressed in these essays are those of the author, and in no way represent, nor are they endorsed by, Microsoft.

Send mail to with questions or comments about this web site.
Copyright 2005 Joseph M. Newcomer/FlounderCraft Ltd.  All Rights Reserved.
Last modified: May 14, 2011