display today's date or change php code example
Example 1: php code to display current date and time in different formats
echo date('Y.m.d H:i:s');
Example 2: show date php
check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html
echo date('Y.m.d H:i:s');
check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html