v5:datetime:adodb_gmstrftime
This is an old revision of the document!
adodb_gmstrftime
See Also
Syntax
string adodb_gmstrftime( $fmt, optional int $timestamp = false )
Description
This function converts a timestamp to a formatted GMT date.
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 */
v5/datetime/adodb_gmstrftime.1449186647.txt.gz · Last modified: 2017/04/21 11:27 (external edit)