Showing US Time
Following script will print the time in US
setlocale(LC_ALL, “en_US”);
putenv(”TZ=EST”);
echo strftime(”%c\n”);
1.In the above script setlocale() function is used to set the local informations.
2. And putenv() function is used to set the current environment
