added default date formate in index.php