This topic is locked

date and time stamp

3/20/2012 4:44:45 AM
PHPRunner General questions
ncreveld author

Hi,

I have a very strange problem.

I have a field named "last updated" with has as property now(), so it should insert the system date and time stamp in the saved record.

But when I do a save the saved record has a different time, of 1 hour early.

Who can help me with a solution to this strange phenomenon.
Nico

C
cgphp 3/21/2012

Are you sure the server where your PHPrunner app is hosted has the correct time?

ncreveld author 3/22/2012



Are you sure the server where your PHPrunner app is hosted has the correct time?


Hi Cristian,
The server is situated near Londen (so UK time) the database is used and worked on in the Netherlands, the UK, in the VS and Israel.

Is there a way to have the users input the date and time by them self?
Thanks you for looking in to this.
Nico Creveld

C
cgphp 3/22/2012

You can track the IP timezone of the user using a web service like this: http://ipinfodb.com/index.php