- time: documentation ( source)
- date_default_timezone_set: documentation ( source)
- error_reporting: documentation ( source)
- date: documentation ( source)
<?php
error_reporting(E_ALL);
date_default_timezone_set('Asia/shanghai');
echo date('Y-m-d H:i:s', time());