- time: documentation ( source)
- function_exists: documentation ( source)
- date_default_timezone_set: documentation ( source)
- date: documentation ( source)
<?php
if(function_exists('date_default_timezone_set')) {
date_default_timezone_set('Europe/Brussels');
}
echo date('Y-m-d', time('now'));
?>