欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

PHP gmstrftime() 函數(shù)

定義和用法

gmstrftime() 函數(shù)根據(jù)本地區(qū)域設置格式化 GMT/UTC 時間/日期。

語法

gmstrftime(format,timestamp)
參數(shù) 描述
format 可選。規(guī)定如何返回結果。
timestamp 可選。

提示和注釋

提示:strftime() 的行為相同,不同的是返回時間是格林威治標準時(GMT)。

例子

輸出 strftime() 和 gmstrftime() 的結果:

<?php
echo(strftime("%b %d %Y %X", mktime(20,0,0,12,31,98)));
echo(gmstrftime("%b %d %Y %X", mktime(20,0,0,12,31,98)));

//輸出當前日期、時間和時區(qū)
echo(gmstrftime("It is %a on %b %d, %Y, %X time zone: %Z",time()));
?>

輸出:

Dec 31 1998 20:00:00
Dec 31 1998 19:00:00
It is Wed on Jan 25, 2006, 11:32:10 time zone: W. Europe Standard Time