Setlocale() Options : setlocale « Utility Function « PHP






Setlocale() Options

 
OPTION             Value
 
LC_ALL             Modify all settings
 
LC_COLLATE         String comparison only
 
LC_TYPE            String classification (for example, differentiation between upper/lowercase)
 
LC_MONETARY        Currency values
 
LC_NUMERIC         Numeric values
 
LC_TIME            Date/time values
  
  








Related examples in the same category

1.Setting a default locale
2.Setting a default locale based on system environment
3.Generating Localized GMT/UTC Time and Date Strings
4.Displaying Times and Dates in Other Languages
5.setlocale(LC_MONETARY, 'en_DK');
6.setlocale(LC_MONETARY, 'en_US');
7.Preferred locale for Chinese
8.Preferred locale for German
9.Preferred locale for Russian
10.To report local time for any Germans