Well, now I use this script:
setlocale (LC_ALL, 'nl_NL');
$datum = date ("j-m-Y");
Which prints it out totaly wrong, but I'm working on it. The script I had before this one printed it out as YYYY-DD-MM. But I want it to print is out as DD-MM-YYYY. I'm working on that.