Like the title says, how do I change 2007-08-01 16:46:01 into August 8, 2007? I tried using date and time but it's giving me 1969 or something. Thanks
Getting the right date_format will depend on what timestamp your db was setup. You might try
date('F d, Y');
People here might be able to help you better if you show the relevant section of you code.
Tim
$dateTime = '2007-08-01 16:46:01'; $date = date('F d, Y', strtotime($dateTime));
Thanks, works perfectly.