ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:datetime:adodb_getdate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
datetime:adodb_getdate [2015/12/03 23:03] mnewnhamv5:datetime:adodb_getdate [2023/05/18 18:54] (current) – Deprecated dregad
Line 5: Line 5:
 [[http://php.net/manual/en/function.getdate.php|PHP Function getdate()]] [[http://php.net/manual/en/function.getdate.php|PHP Function getdate()]]
 == Syntax == == Syntax ==
-  int adodb_getdate(+  array adodb_getdate(
      optional mixed $timestamp=time()      optional mixed $timestamp=time()
   )   )
 </WRAP> </WRAP>
 +
 +<WRAP important>
 +[[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.
 +</WRAP>
 +
 ===== Description ===== ===== Description =====
 Returns an array containing date information, the same as the PHP function ''getDate()'', but supporting dates less than 1901 and greater than 2038. The local date/time format is derived from a heuristic the first time adodb_getdate() is called. Returns an array containing date information, the same as the PHP function ''getDate()'', but supporting dates less than 1901 and greater than 2038. The local date/time format is derived from a heuristic the first time adodb_getdate() is called.
v5/datetime/adodb_getdate.1449180191.txt.gz · Last modified: 2017/04/21 11:27 (external edit)