====== adodb_gmstrftime ====== ~~NOTOC~~ == See Also == [[http://php.net/manual/en/function.gmstrftime.php|PHP Function gmstrftime()]] == Syntax == string adodb_gmstrftime( $fmt, optional int $timestamp = false ) [[datetime_index#deprecated|Deprecated]] since ADOdb 5.22.6, and [[https://github.com/ADOdb/ADOdb/issues/970|removed in 5.23.0]]. Use 64-bit native PHP functions instead. ===== Description ===== This function converts a timestamp to a formatted GMT date. See [[adodb_strftime|adodb_strftime()]] for information about supported locales and format codes. -------------------------------------- ===== Usage ===== $t = adodb_gmmktime(12,10,0,6,20,1066); print $t; /* * Prints -28512215400 */ $d = adodb_gmstrftime("%b %d %Y %H:%M:%S", $t) . "\n"; print $d; /* * Prints Jun 20 1066 12:10:00 */