My PC doesn't recognize Pavarotti
I guess my baby doesn't like italian. Got a code like this
PHP Code:
<?php
setlocale (LC_TIME, 'en_US');
echo strftime ('%A, %B %d %G, %T');
echo "<br/>";
setlocale (LC_TIME, 'it_IT');
echo strftime ('%A, %d %B %G, %T');
echo "\n";
?>
expected to print something like
Tuesday, April 15 2003, 07:52:21
martedì, 15 aprile 2003, 07:52:21
But displays no Pavarotti style. Just
Tuesday, April 15 2003,
Tuesday, 25 April,
And oh, no value for %T? Please help. Thanks.
Re: My PC doesn't recognize Pavarotti
what are u running this code on?
Re: My PC doesn't recognize Pavarotti
Check this out.. on %T ehehehe
Quote:
Originally Posted by PHP Documentation
Note: Not all conversion specifiers may be supported by your C library, in which case they will not be supported by PHP's strftime(). Additionally, not all platforms support negative timestamps, therefore your date range may be limited to no earlier than the Unix epoch. This means that e.g. %e, %T, %R and %D (there might be more) and dates prior to Jan 1, 1970 will not work on Windows, some Linux distributions, and a few other operating systems.
...