utc time format to date time php code example Example: current utc time in php date("Y-m-d H:i:s", time() - date("Z"))