I am working on a simple date picker which show todays date as a default. The problem is that I cant make it work same on different browsers as Chrome, firefox and Opera.
<?php
$timezone = "Europe/Oslo";
date_default_timezone_set($timezone);
$today = date("d.m.Y");
echo $today." <br>";
?>
<html>
<body>
<input type="date" value="<?php echo $today ?>">
</body>
</html>
Google Chrome:

Firefox:

Opera:

As you can see in firefox i get the date, but not in GC or Opera.
But when I format the date as: $today = date("Y-m-d");
It looks like this in Google Chrome:

Opera:

Firefox:
