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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to