MySQL: date_format with correct locale

$sql = 'SET lc_time_names = "nl_NL"';
$result = @mysql_query($sql);
$sql = 'SELECT title, DATE_FORMAT(insertdate, "%d %M %Y") insertdate FROM table';
$result = @mysql_query($sql);

Leave a Reply