mic*_*ele 3 php time gmt
我有这个字符串2012-06-27 16:17:06,我想将其转换为GMT格式. 我怎样才能做到这一点?
2012-06-27 16:17:06
非常感谢.
Nik*_* K. 6
使用gmdate(). 通过使用strtotime然后使用将当前日期格式转换为UNIX时间戳gmdate($format, $timestamp);
strtotime
gmdate($format, $timestamp);
归档时间:
13 年,10 月 前
查看次数:
13171 次
最近记录:
7 年,8 月 前