Topic: add +0800 to date

how do i add +0800 to a date.
i now have

date("l dS of F Y - H:i:s",$row[posted])

But it needs to be GMT+0800

thank you.

Re: add +0800 to date

Can't you just change the timezone?

If not:
$row[posted] is the amount of secons since 1970, so if you want to add 8 hours, just add 8h*60min*60sec = 28800 seconds like this:

date("l dS of F Y - H:i:s", $row[posted]+28800)

Re: add +0800 to date

thank you...