Format a time with locale information in PHP
Description
The following code shows how to format a time with locale information.
Example
/*from w w w . ja va 2s . co m*/
<?php
setlocale(LC_ALL, 'it_IT');
printf("Your subscription ends on %s", strftime('%x', strtotime('2008-03-04')));
?>
The code above generates the following result.