# Arizona and Daylight savings time

**URL:** <https://community.open-emr.org/t/arizona-and-daylight-savings-time/2000>\
**Category:** Management and Administration\
**Created:** [October 3, 2011, 6:49pm UTC](https://community.open-emr.org/t/arizona-and-daylight-savings-time/2000 "2011-10-03T18:49:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [October 3, 2011, 6:49pm UTC](https://community.open-emr.org/t/arizona-and-daylight-savings-time/2000/1 "2011-10-03T18:49:08Z")

</div>

**[jimmyfoo](https://sourceforge.net/u/jimmyfoo/)** wrote on [Monday, October 03, 2011](https://sourceforge.net/p/openemr/discussion/202505/thread/d0cf3b76/#bd39):

I have a client that brought this to mi attention last week.

System  
Ubuntu 10.04.3 LTS

Software  
Open EMR 3.1.0 through 4.1.0 has this issue

Time zone set on the Ubuntu server.  
America/Phoenix (Mountain Standard Time - Arizona)

Problem:  
During the spring daylight savings time change (UTC-6) openemr is changing the time to one hour in the future. Once the fall change happens then it is back to normal (UTC-7).&nbsp; I know this is the correct behavior however in Arizona we are always UTC-7 unless on the Navajo Nation they do observere daylight savings time.

To repeat the issue:  
Install any one of the openemr deb packages for 3.1.0 to 4.1.0 they all do it.&nbsp; Create a patient.&nbsp; Add a patient note and the time the note is created is an hour in the future.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [October 3, 2011, 11:07pm UTC](https://community.open-emr.org/t/arizona-and-daylight-savings-time/2000/2 "2011-10-03T23:07:31Z")

</div>

**[yehster](https://sourceforge.net/u/yehster/)** wrote on [Monday, October 03, 2011](https://sourceforge.net/p/openemr/discussion/202505/thread/d0cf3b76/#f016):

This is really more of an issue with Ubuntu and not specifically with OpenEMR.&nbsp;&nbsp; I suggest that you look for advice on a general linux forum or google how to disable automatic daylight savings time changes for your system.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [October 3, 2011, 11:24pm UTC](https://community.open-emr.org/t/arizona-and-daylight-savings-time/2000/3 "2011-10-03T23:24:25Z")

</div>

**[jimmyfoo](https://sourceforge.net/u/jimmyfoo/)** wrote on [Monday, October 03, 2011](https://sourceforge.net/p/openemr/discussion/202505/thread/d0cf3b76/#a7af):

that is not true the time on the system is fine it is openemr.&nbsp; if I check the hardware and system time they are set correctly.&nbsp; This only started happening since the spring daylight saving change.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [October 3, 2011, 11:25pm UTC](https://community.open-emr.org/t/arizona-and-daylight-savings-time/2000/4 "2011-10-03T23:25:11Z")

</div>

**[jimmyfoo](https://sourceforge.net/u/jimmyfoo/)** wrote on [Monday, October 03, 2011](https://sourceforge.net/p/openemr/discussion/202505/thread/d0cf3b76/#9fb5):

I have also been able to reproduce the issue on two separate systems.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [October 8, 2011, 3:08am UTC](https://community.open-emr.org/t/arizona-and-daylight-savings-time/2000/5 "2011-10-08T03:08:17Z")

</div>

**[jimmyfoo](https://sourceforge.net/u/jimmyfoo/)** wrote on [Saturday, October 08, 2011](https://sourceforge.net/p/openemr/discussion/202505/thread/d0cf3b76/#90d9):

yehster both of us were wrong it had to do with PHP and the setting in date.timezone in PHP.INI.&nbsp; Here was the fix:

; Defines the default timezone used by the date functions  
; [http://php.net/date.timezone](http://php.net/date.timezone)  
date.timezone = “America/Phoenix”

Hope this helps someone else.

Jim

date.timezone = “America/Phoenix”
