I'm trying to display the exact time with PHP in the following format.
Date: YYYY-MM-DD
Time: 00: 00: 00: 000
<?php
setlocale( LC_ALL, 'pt_BR', 'pt_BR.iso-8859-1', 'pt_BR.utf-8', 'portuguese' );
date_default_timezone_set( 'America/Sao_Paulo' );
echo strftime( '%Y-%m-%e %T', strtotime('today'));
?>
With the current code it according to my search would display this for example, 2015-01-26 00:00:00
I'm using windows7 x64 and PHP Version 5.5.8 and the page does not display anything or errors.