Re: [PHP-DB] date format question

2001-11-28 Thread Dobromir Velev
Hi, You could try to change date("m") to date("n"), and date("d") to date("j"). It looks that sometimes mktime() doesn't remove the trailing zeroes and returns totally different dates. The other thing you could try is $date = date("F dS, Y g:i:s A", date("U")+18000); this one takes the number se

RE: [PHP-DB] date format question

2001-11-27 Thread Beau Lebens
try "H" as your hour format (date("H")+5) although out of interest, at 9:51am, using either "g" or "H" gives me 2:51 pm HTH /beau // -Original Message- // From: Matt Nigh [mailto:[EMAIL PROTECTED]] // Sent: Wednesday, 28 November 2001 9:48 AM // To: php-db // Subject: [PHP-DB] date for