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
Next revisionBoth sides next revision
datetime:adodb_getdate [2015/12/03 22:59] mnewnhamv5:datetime:adodb_getdate [2016/01/13 02:12] – ↷ Page moved from datetime:adodb_getdate to v5:datetime:adodb_getdate mnewnham
Line 6: Line 6:
 == Syntax == == Syntax ==
   int adodb_getdate(   int adodb_getdate(
-     optional mixed $timestamp=false+     optional mixed $timestamp=time()
   )   )
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
-Returns an array containing date information, as getdate(), but supports 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.txt · Last modified: 2023/05/18 18:54 by dregad