ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:offsetdate

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
v5:reference:connection:offsetdate [2025/08/23 18:19] – $offset is a float, not a string dregadv5:reference:connection:offsetdate [2025/08/23 18:21] (current) – Move note into an Info wrap dregad
Line 8: Line 8:
   )   )
 </WRAP> </WRAP>
- 
-==== Note ====  
-Passing a decimal offset less than one without  
-specifying a base date will always return the  
-current date because the calculation time  
-basis is always the beginning of the current date 
  
 ===== Description ===== ===== Description =====
Line 21: Line 15:
  
 The function returns false if invalid parameters are provided. The function returns false if invalid parameters are provided.
 +
 +<WRAP info>
 +Passing a decimal offset less than one without 
 +specifying a base date will always return the 
 +current date because the calculation time 
 +basis is always the beginning of the current date
 +</WRAP>
  
 ===== Inputs ===== ===== Inputs =====
v5/reference/connection/offsetdate.txt · Last modified: by dregad