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 format question
//
//
// hi,
// i'm wondering if anyone could help me in formatting a date
// so it is 5 hours ahead of the server time.
// here's the code i'm using but it doesn't seem to work:
//
// $date = date("F dS, Y g:i:s A",
// mktime(date("g")+5,date("i"),date("s"),date("m"),date("d"),da
// te("Y")) );
//
// i've already looked in the manual and around the net for
// stuff, but wasn't able to find anything for what i needed.
// if anyone could help out, i'd appreciate it.
//
// thanks,
//
//
// Matt
//
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]