Extract the Day / Month / Year from a Timestamp on MYSQL

Posted by Tristan on Stack Overflow See other posts from Stack Overflow or by Tristan
Published on 2010-05-24T22:23:11Z Indexed on 2010/05/24 22:31 UTC
Read the original article Hit count: 226

Filed under:
|
|
|

Hello,

I have :

$date = $actualite['date'];

$actualite['date'] is a TIMESTAMP

and i was wondering how i can extract from this timestamp the day, then the month, then the year in 3 variables.

Thank you for your help :

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql