Well, that still doesn't seem to have anything to do with your original post, but...
Assuming you know the client's timezone, and depending on how you're storing the "real" dates and times (whether your local timezone, UTC (which is what I generally use), or as a Unix timestamp (which is implicitly UTC)):
Create a DateTime object initialised with the "real" time of the post.
Change the object's timezone to match that of the client.
Ask the object for the time.
The below is not a solution. It just illustrates the sort of methods you'd be using. To find out just how, consult the manual.
$now = new DateTime("now");
echo $now->format('r'),"\t",$now->getTimeZone()->getName(),"\n";
$now->setTimezone(new DateTimeZone('Europe/Minsk'));
echo $now->format('r'),"\t",$now->getTimeZone()->getName(),"\n";