date format question
| From: | Matt Nigh | Date: | Wed, 28 Nov 2001 01:48:11 +0000 |
| Subject: | date format question | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14634@lists.php.net to get a copy of this message | ||
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"),date("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