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
Last revisionBoth sides next revision
v5:datetime:datetime_index [2019/01/02 02:56] – [Introduction] mnewnhamv5:datetime:datetime_index [2019/01/02 03:04] – [Table] mnewnham
Line 53: Line 53:
 ===== Daylight Savings Time ===== ===== Daylight Savings Time =====
 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]].
 +===== Future Date Cutoff =====
 +For security reasons, the maximum future date that can be generated is defaulted to 200 years in the future. This is controlled by the constant ''ADODB_FUTURE_DATE_CUTOFF_YEARS'' which may be set as needed by the end user.  
 ===== 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 as a string +| [[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:adodb_last_date_status|adodb_last_date_status()]]  | Returns the success of the last date conversion                                              |
  
  
v5/datetime/datetime_index.txt · Last modified: 2023/05/18 18:49 by dregad