1-3
获取格式化的日期和时间
•
在 PHP 中使用函数 date() 可以得到一个格式化的日期和时间。该函数的语法如下所示。
string date(string $format [, int timestamp]);