ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:unixtimestamp

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
v5:reference:connection:unixtimestamp [2020/01/05 19:17] – [Description] mnewnhamv5:reference:connection:unixtimestamp [2020/01/05 19:19] – [SQL Server example] mnewnham
Line 29: Line 29:
  * Connection to SQL Server database assumed  * Connection to SQL Server database assumed
  */  */
-$d = $db::unixDate(strtotime('1920-10-10'));+$d = $db::unixDate(strtotime('1920-10-10 00:00:00'));
 print $d; print $d;
 /* /*
v5/reference/connection/unixtimestamp.txt · Last modified: 2020/01/05 19:21 by mnewnham