Manual PHP Înapoi Înainte gmstrftime Descriere Se comportă la fel ca strftime() exceptând faptul că timpul returnat este Greenwich Mean Time (GMT). De exemplu, când este rulat în Timpul Standard Estic (GMT -0500), prima linie de mai jos va afişa "Dec 31 1998 20:00:00", în timp ce a doua va afişa "Jan 01 1999 01:00:00 ". Exemplu 1. Exemplu gmstrftime() setlocale ('LC_TIME', 'en_US'); echo strftime ("%b %d %Y %H:%M:%S", mktime (20,0,0,12,31,98)) ."\n"; echo gmstrftime ("%b %d %Y %H:%M:%S", mktime (20,0,0,12,31,98)) ."\n"; Vezi, de asemenea, strftime(). Înapoi Acasã Înainte Sus