<pre><?php
  $locales 
= array(
    
'Arabic (Egypt)' => 'ar_EG.UTF-8''American ' => 'en_US',
    
'Dutch         ' => 'nl_NL',       'Hebrew   ' => 'iw_IL',
    
'Hebrew (UTF-8)' => 'iw_IL.UTF-8''Hungarian' => 'hu_HU.UTF-8',
    
'Japanese      ' => 'ja_JP.UTF-8''Norwegian' => 'no_NO.UTF-8',
    
'Turkish  ' => 'tr_TR.UTF-8'
  
);

  foreach (
$locales as $country => $locale) {
    
setlocale(LC_TIME$locale);
    echo 
'<b>'$country"</b>\t"strftime('%c'),
      
"\n";
  }
?></pre>
Output:
Arabic (Egypt)	Thu Nov 28 23:39:55 2024
American 	Thu Nov 28 23:39:55 2024
Dutch         	Thu Nov 28 23:39:55 2024
Hebrew   	Thu Nov 28 23:39:55 2024
Hebrew (UTF-8)	Thu Nov 28 23:39:55 2024
Hungarian	Thu Nov 28 23:39:55 2024
Japanese      	Thu Nov 28 23:39:55 2024
Norwegian	Thu Nov 28 23:39:55 2024
Turkish  	Thu Nov 28 23:39:55 2024