Re: A simple date question
| From: | Maxim Maletsky | Date: | Mon, 19 May 2003 00:44:25 +0000 |
| Subject: | Re: A simple date question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148129@lists.php.net to get a copy of this message | ||
On Mon, 19 May 2003 01:39:33 +0800
"Developer" <menezesd@singnet.com.sg> wrote:
> Hello friends.
>
> All I want to do is input our local time into the mysql database with time taken from a Unix
> server which is 15 hrs behind our time. We are keeping Japan time of GMT + 8 hrs.
Store all your timestamps as the GMT values directly - then, while
retrieving, get them with your current GMT difference. This is the
cleanest way to accomplish your task. I worked in Japan and this was
exactly how I've done some of such thingies.
--
Maxim Maletsky
maxim@php.net