ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:dbdate

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
reference:dbdate [2015/07/19 18:00] – created mnewnhamv5:reference:dbdate [2016/01/13 02:30] – ↷ Page moved from reference:dbdate to v5:reference:dbdate mnewnham
Line 1: Line 1:
 ====== dbDate ====== ====== dbDate ======
 +~~NOTOC~~
 <WRAP right box> <WRAP right box>
 == syntax == == syntax ==
Line 6: Line 7:
          }          }
                    
-<WRAP>+</WRAP>
 ===== Description ===== ===== Description =====
 The function ''dbDate()'' accepts a Unix Timestamp value, and returns a database-specific date string. This can then be used in SQL statements. The returned value differs from one database to another. The function ''dbDate()'' accepts a Unix Timestamp value, and returns a database-specific date string. This can then be used in SQL statements. The returned value differs from one database to another.
 +
 +Note that the returned value already includes any required quoting
 +
 ===== Usage ===== ===== Usage =====
 ==== MySQL example ==== ==== MySQL example ====
v5/reference/connection/dbdate.txt · Last modified: 2016/01/17 00:16 by mnewnham