update : 2015.11.03
php.shukuma.com검색:
|
gmstrftime(PHP 4, PHP 5, PHP 7) gmstrftime — Format a GMT/UTC time/date according to locale settings 설명
string gmstrftime
( string
$format
[, int $timestamp = time()
] )Behaves the same as strftime() except that the time returned is Greenwich Mean Time (GMT). For example, when run in Eastern Standard Time (GMT -0500), the first line below prints "Dec 31 1998 20:00:00", while the second prints "Jan 01 1999 01:00:00". 인수
반환값
Returns a string formatted according to the given format string
using the given 예제
Example #1 gmstrftime() example
<?php |