home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 February / CHIPCD_02_2002.iso / Internet / Macromedia ColdFusion Server 5 / coldfusion-50-win-us.exe / data1.cab / Examples / CFDOCS / snippets / setlocale.cfm < prev    next >
Encoding:
Text File  |  2001-06-13  |  672 b   |  29 lines

  1. <!--- This example shows SetLocale --->
  2. <HTML>
  3.  
  4. <HEAD>
  5. <TITLE>SetLocale Example</TITLE>
  6. </HEAD>
  7.  
  8. <BASEFONT FACE="Arial, Helvetica" SIZE=2>
  9. <BODY  bgcolor="#FFFFD5">
  10.  
  11. <H3>SetLocale Example</H3>
  12.  
  13. <P>SetLocale sets the locale to the specified new locale
  14. for the current session.
  15.  
  16. <P>A locale is an encapsulation of the set of attributes
  17. that govern the display and formatting of international
  18. date, time, number, and currency values.
  19.  
  20. <P>The locale for this system is <CFOUTPUT>#GetLocale()#</CFOUTPUT>
  21.  
  22. <P><CFOUTPUT><I>the old locale was #SetLocale("English (UK)")#</I>
  23. <P>The locale is now #GetLocale()#</CFOUTPUT>
  24.  
  25. </BODY>
  26.  
  27. </HTML>       
  28.     
  29.