RE: Reading MS Access date/time field in PHP
| From: | YC Nyon | Date: | Sun, 15 Feb 2004 16:37:32 +0000 |
| Subject: | RE: Reading MS Access date/time field in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-177736@lists.php.net to get a copy of this message | ||
I'm trying to extract the year for a query from a date/time field in MS
Access via PHP.
The data type is Date/Time and formated as Long Integer.
Viewing it in Access "31 December 2003"
Viewing it in PHP without formating "2003-12-31 00:00:00"
I want to create a query based on the year only. I could do it with some
string functions. However, fundamentally, it's not correct.
Anyone can help?
Regards
Nyon