note 10468 added to date
| From: | hasan at atonet dot com | Date: | Fri, 05 Jan 2001 13:49:28 +0000 |
| Subject: | note 10468 added to date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9405@lists.php.net to get a copy of this message | ||
How to convert Microsoft Access Date Serial Number to Linux Date Serial Number?
we are client program is Access 97. we use ODBC for connect to MySQL.
we are enter in date field in Access and store as int data in mySQL.
for example 01/01/2001 = 36892 in Access,
now, how to display correct date in php3?
print strftime("%d/%m/%Y",(31528800+($datefield-25934)*86400));
http://www.php.net/manual/function.date.php