Please help. I have set the timezone in PHP.ini file to America/Chicago but everytime we select “Arrived” in Flowboard, it gives a different time. Also the total time was incorrect. We are running 4.2.2
Based on our observation the Total time is calculated based on Current time of the timezone(Current time of the system/server) - Arrive Time(Appointment created time) . Total time differs because of the time difference of default timezone (time of appointment ) and America/Chicago timezone.
Stephen. How could I reload the webserver? I tried uninstall apache and install it back again and it’s still the same.
ViSolve. How could I change the time difference? We are in Central time zone and the America/Chicago is the time zone for it. Why is there such a difference in time?
Unfortunatly this is not just a Windows-only problem. We use an Amazon Linux and have been struggling with it for some time without success. Apache server was set properly to the America/New York timezone and restarted many times. The ‘date’ command shows that our server has the right timezone:
[ec2-user@ip- ~]$ date
Tue Nov 1 21:00:51 EDT 2016
But we cannot get rid of the UTC in the program. Our calendar jumps to the next day at 8:00 p.m. EST. An encounter generated after that time has a next day’s date etc.
Probably there are some UTC left hardcoded in the program.
Hi Stephen,
Thank you very much for a tip. Our php timezone appeared to be UTC. We somehow lost the right settings. It could happen when we upgraded to php5.6 and that php.ini became php5.6.ini. I have corrected the timezone in this file and everything is OK now.
But anyway just out of curiosity I found about 16 hardcoded UTC instances in our current version (4.2.2).
No problem. I’ve attached a text file containing a grep command output for a search string ‘UTC’. I am not an expert in the OpenEMR code but a bit concerned about instances of hardcoded UTC in the zend modules.