Hello ppl,
I'm trying now to find how can I show my country time not server time , I'm in romania and theserver is in USA.... so I used setlocale .. but I cant print the time , with the days name everything is ok .. I will paste the script and the results bellow.
echo "Data local:".date('Y-m-d H:i:s')."<br><br>";
setlocale(LC_ALL,"ro_RO");
print (strftime ("%A - %B - %Z in Romanian %T- %R - %H - %I<br> "));
setlocale (LC_ALL, "C");
print (strftime ("%A - %B - %Z Canada ??? %T- %R - %H - %I<br>"));
setlocale (LC_ALL, "fi_FI");
print (strftime ("%A - %B - %Z in Finnish %T- %R - %H - %I<br> "));
setlocale (LC_ALL, "fr_CA");
print (strftime ("%A - %B - %Z in French %T- %R - %H - %I<br> "));
setlocale (LC_ALL, "de_DE");
print (strftime ("%A - %B - %Z and in German %T - %R - %H - %I<br>"));
Vineri - Ianuarie - CST in Romanian 08:29:24- 08:29 - 08 - 08
Friday - January - CST Canada ??? 08:29:24- 08:29 - 08 - 08
perjantai - tammikuu - CST in Finnish 08:29:24- 08:29 - 08 - 08
vendredi - janvier - CST in French 08:29:24- 08:29 - 08 - 08
Freitag - Januar - CST and in German 08:29:24 - 08:29 - 08 - 08
I inserted more parameters than I need .. I was just testing ..
any help will be apreciated
10x in advance
see ya all