Hi, i have this unix timestamp value: 1275364800 (1st june 2010).
When printing that value with php:
echo date('m',1275364800)
it returns 6 (thats ok)
But when i select a field from a database: select MONTH(FROM_UNIXTIME(1275364800)) AS month
it returns 5
Why?
BTW, if i run this query select FROM_UNIXTIME(1275364800) AS q i get 2010-05-31 23:00:00