ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:datetime:datetime_index

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
v5:datetime:datetime_index [2016/04/14 01:38] mnewnhamv5:datetime:datetime_index [2019/01/02 02:56] – [Introduction] mnewnham
Line 9: Line 9:
  
 Dates from 100 A.D. to 3000 A.D. and later have been tested. The minimum is 100 A.D. as <100 will invoke the Dates from 100 A.D. to 3000 A.D. and later have been tested. The minimum is 100 A.D. as <100 will invoke the
-2 => 4 digit year conversion. The maximum is billions of years in the future, but this is a theoretical limit as the computation of that year would take too long with the current implementation of adodb_mktime().+2 => 4 digit year conversion. The maximum is billions of years in the future, but this is a theoretical limit as the computation of that year would take too long with the current implementation of adodb_mktime(). Since version 5.20.13, the future date cutoff is limited to 200 years by default. This value is controlled by a constant which may be modified for user requirement.
  
 ===== Functions Replaced ===== ===== Functions Replaced =====
Line 54: Line 54:
 ADOdb date/time library does not support daylight savings time but you can write [[v5:datetime:custom_dst|your own function]]. ADOdb date/time library does not support daylight savings time but you can write [[v5:datetime:custom_dst|your own function]].
 ===== Function Descriptions ====== ===== Function Descriptions ======
-^ Function                                          ^ Description                                                                      +^ Function                                             ^ Description                                                                                  
-| [[v5:datetime:adodb_time|adodb_time()]]              | Returns the current time measured in the number of seconds since the Unix Epoch  | +| [[v5:datetime:adodb_time|adodb_time()]]              | Returns the current time measured in the number of seconds since the Unix Epoch as a string  | 
-| [[v5:datetime:adodb_getdate|adodb_getdate()]]        | Returns an array containing date information                                     +| [[v5:datetime:adodb_getdate|adodb_getdate()]]        | Returns an array containing date information                                                 
-| [[v5:datetime:adodb_date|adodb_date()]]              | Convert a timestamp to a formatted local date                                    +| [[v5:datetime:adodb_date|adodb_date()]]              | Convert a timestamp to a formatted local date                                                
-| [[v5:datetime:adodb_date2|adodb_date2()]]            | Same as adodb_date, but 2nd parameter accepts iso date                           +| [[v5:datetime:adodb_date2|adodb_date2()]]            | Same as adodb_date, but 2nd parameter accepts iso date                                       
-| [[v5:datetime:adodb_gmdate|adodb_gmdate()]]          | Convert a timestamp to a formatted GMT date                                      +| [[v5:datetime:adodb_gmdate|adodb_gmdate()]]          | Convert a timestamp to a formatted GMT date                                                  
-| [[v5:datetime:adodb_mktime|adodb_mktime()]]          | Converts a local date to a unix timestamp                                        +| [[v5:datetime:adodb_mktime|adodb_mktime()]]          | Converts a local date to a unix timestamp                                                    
-| [[v5:datetime:adodb_gmmktime|adodb_gmmktime()]]      | Converts a gmt date to a unix timestamp                                          +| [[v5:datetime:adodb_gmmktime|adodb_gmmktime()]]      | Converts a gmt date to a unix timestamp                                                      
-| [[v5:datetime:adodb_gmstrftime|adodb_gmstrftime()]]  | Convert a timestamp to a formatted GMT date                                      +| [[v5:datetime:adodb_gmstrftime|adodb_gmstrftime()]]  | Convert a timestamp to a formatted GMT date                                                  
-| [[v5:datetime:adodb_strftime|adodb_strftime()]]      | Convert a timestamp to a formatted local date                                    |+| [[v5:datetime:adodb_strftime|adodb_strftime()]]      | Convert a timestamp to a formatted local date                                                |
  
  
v5/datetime/datetime_index.txt · Last modified: 2023/05/18 18:49 by dregad