Article ID: 232158 - Last Review: August 8, 2007 - Revision: 1.2 How To Use GetLocale() and SetLocale() in VBScriptThis article was previously published under Q232158 SUMMARY
Visual Basic Scripting Edition (VBScript) version 5.0 supports the functionality of retrieving and changing the current locale settings of your current Web page. The two functions that support this feature are GetLocale() and SetLocale().
GetLocale() returns the current locale on the client machine. SetLocale() sets the locale to the new specified locale These functions can be used accordingly to localize the date, time, or currency of your Web page. NOTE: GetLocale() and SetLocale() are not supported in JavaScript. MORE INFORMATION
The following example demonstrates GetLocale() and SetLocale():
REFERENCES
For more information regarding Microsoft Scripting Technologies please visit http://msdn2.microsoft.com/en-us/library/ms950396.aspx
(http://msdn2.microsoft.com/en-us/library/ms950396.aspx)
.
| Article Translations
|

Back to the top
