Trying to display current time with PHP (using this):
$date = date(\'m/d/Y h:i:s a\', time());
echo $date;
As simple
If you need a more simple way than Zend_Date and IntlDateFormatter try the standard strftime function in php. Here's the stuff I did to get it up and running with the Russian language running php 5.3 on Ubuntu (Russian locale was not installed).
To install locale
cd /usr/share/localessudo ./install-language_pack ru_RUsudo dpkg-reconfigure localesNext, use the following php snippet:
setlocale(LC_TIME, 'ru_RU.UTF-8');
echo strftime('%A', time());
Should output today's day of the week.