ledaker
October 1st, 2008, 11:20 AM
Hi, i have TIMESTAMP column and i must convert his value in to date in mysql
|
Click to See Complete Forum and Search --> : TIMESAMP into mysql ledaker October 1st, 2008, 11:20 AM Hi, i have TIMESTAMP column and i must convert his value in to date in mysql PeejAvery October 1st, 2008, 12:09 PM A timestamp column is already a date format. What exactly are you trying to do? ledaker October 1st, 2008, 02:34 PM how i can extract the month and year PeejAvery October 1st, 2008, 02:56 PM Since you haven't stated in what language you are attempting this, I will assume PHP. $row = mysql_fetch_object($sql); $monthyear = date('F Y', strtotime($row->timestamp)) ledaker October 1st, 2008, 04:21 PM thanks codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |