This topic is locked
[SOLVED]

Time stamp NOW()

3/27/2024 5:05:33 PM
PHPRunner General questions
A
Andreas Georgiou author

when i add a time stamp to a record either in before save or before add the Now() command adds one hour to it.

on the SQL server the time is correct. My client the time is correct. Where would it be getthing this time from?

Any help that woudl be greatly appreciated.

Thank you,
Andrew

admin 3/27/2024

If you use now() in PHP it will use the timestamp accoding to the current timezone specified in PHP settings ( php.ini ).

A
Andreas Georgiou author 3/27/2024

Thank you I will check that in the INI file.