rantsh Posted February 7, 2007 Share Posted February 7, 2007 Can anyone give me some pointers on the PROPER way to use date with setlocale so I could choose to print the date on english, spanish or anyother language? ie I want to be able to output something like if($_COOKIE['lang'] == "eng") { //prints January 1st, 1900; } elseif($_COOKIE['lang'] == "esp") { //prints Enero 1, 1900 } else { ... print in default language } Thanks for any pointers you may share... Link to comment https://forums.phpfreaks.com/topic/37458-date-and-setlocale/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.