View Single Post
Old 12-11-2012, 02:20 PM   PM User | #4
jeddi
Senior Coder

 
Join Date: May 2006
Posts: 1,526
Thanks: 26
Thanked 4 Times in 4 Posts
jeddi has a little shameless behaviour in the past
Hi,

Thanks for replies.

I tried:

PHP Code:
$N_pub_date     strtotime("{$row['pub_date']}"); 
$N_pub_date     date("m/d/y"$N_pub_date); 
But I still get: 12/31/69

I looked at the MYSQL link and think I need this:

PHP Code:
SELECT DATE_FORMAT('2009-10-04 22:23:00''%m/%d/%Y'); 
But how do write that into my php code ?

Thanks
__________________
If you want to attract and keep more clients, then offer great customer support.

Support-Focus.com. automates the process and gives you a trust seal to place on your website.
I recommend that you at least take the 30 day free trial.
jeddi is offline   Reply With Quote