Mega Code Archive

 
Categories / Php / Functions
 

To report local time for any Germans

<?php  $ts_au = mktime();  $ts_de = $ts_au - (9 * 3600); echo date('H:m \o\n l d m Y', $ts_au);  setlocale(LC_ALL, 'de_DE', 'german');  echo strftime('%H.%M Uhr, am %A dem %d %B %Y', $ts_de);  ?>