Lester Caine wrote:
<?php setlocale(LC_TIME, "nl_NL.ISO8859-1"); $d = new DateTime(); echo strftime("%A, %d %B %Y", strtotime($d->format(DATE_ATOM))), "\n"; ?>
Does not work! Have to do date_default_timezone_set( $user_timezone ) ); if ( is_numeric( $user_time )) { $dateTimeUser = new DateTime( '@'.$user_time ); } else { $dateTimeUser = new DateTime( $user_time ); } $disptime = strtotime($dateTimeUser->format(DATE_W3C)); echo strftime( $format, $disptime ); Even to get the right day! But as yet I have not seen ANYTHING other than English text :( The next battle is to get it translated. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/lsces/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php