# Setup time zone

**URL:** <https://talk.openmrs.org/t/setup-time-zone/10120>\
**Category:** Bahmni\
**Created:** [February 18, 2017, 3:04am UTC](https://talk.openmrs.org/t/setup-time-zone/10120 "2017-02-18T03:04:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![htorresb](https://talk.openmrs.org/letter_avatar/htorresb/32/5_5575768a8748004e209b776fc1b2916d.png) [@htorresb](https://talk.openmrs.org/u/htorresb)\
**Post date:** [February 18, 2017, 3:04am UTC](https://talk.openmrs.org/t/setup-time-zone/10120/1 "2017-02-18T03:04:12Z")

</div>

How do I change time zone on a Bahmni implementation? I forgot to setup this parameter when I installed it.

Thank you

---

<div class="post-metadata">

**Author:** ![janux](https://talk.openmrs.org/letter_avatar/janux/32/5_5575768a8748004e209b776fc1b2916d.png) [@janux](https://talk.openmrs.org/u/janux)\
**Post date:** [February 19, 2017, 2:51pm UTC](https://talk.openmrs.org/t/setup-time-zone/10120/3 "2017-02-19T14:51:55Z")

</div>

This is how I resolved this issue for myself:

```auto
# Change the timezone in the setup file
sudo vi /etc/bahmni-installer/setup.yml

# Re-run the Ansible scripts. It will leave the binaries as is and update the configuration.
bahmni -i local --skip openerp,bahmni-erp-connect,bahmni-reports install

```

Disclaimer: I am a Bhamni novice not sure if this might have unintended side effects.

---

<div class="post-metadata">

**Author:** ![htorresb](https://talk.openmrs.org/letter_avatar/htorresb/32/5_5575768a8748004e209b776fc1b2916d.png) [@htorresb](https://talk.openmrs.org/u/htorresb)\
**Post date:** [February 20, 2017, 1:27am UTC](https://talk.openmrs.org/t/setup-time-zone/10120/4 "2017-02-20T01:27:22Z")

</div>

Janux, Thank you. I believe that option works only when installing Bahmni. Unfortunately I’ve installed it already and I’ve been customizing that install over the last 3 weeks.

Thank you

---

<div class="post-metadata">

**Author:** ![sravanthi17](https://talk.openmrs.org/user_avatar/talk.openmrs.org/sravanthi17/32/1357_2.png) [@sravanthi17](https://talk.openmrs.org/u/sravanthi17)\
**Post date:** [February 20, 2017, 5:40am UTC](https://talk.openmrs.org/t/setup-time-zone/10120/5 "2017-02-20T05:40:30Z")

</div>

You can rerun the installation

---

<div class="post-metadata">

**Author:** ![gsluthra](https://talk.openmrs.org/user_avatar/talk.openmrs.org/gsluthra/32/1453_2.png) [@gsluthra](https://talk.openmrs.org/u/gsluthra)\
**Post date:** [February 20, 2017, 7:58am UTC](https://talk.openmrs.org/t/setup-time-zone/10120/6 "2017-02-20T07:58:13Z")

</div>

You can re-run the bahmni install command, and it only applies the “Delta” or the “Changes” and doesn’t repeat stuff it has already done. So, if you change the setup.yml, it should only change the timezone value and not do anything else – since thats the only thing you changed.

---

<div class="post-metadata">

**Author:** ![htorresb](https://talk.openmrs.org/letter_avatar/htorresb/32/5_5575768a8748004e209b776fc1b2916d.png) [@htorresb](https://talk.openmrs.org/u/htorresb)\
**Post date:** [February 20, 2017, 9:35pm UTC](https://talk.openmrs.org/t/setup-time-zone/10120/7 "2017-02-20T21:35:47Z")

</div>

Thank you all for your feedback, I will give it a try.

Regards

---

<div class="post-metadata">

**Author:** ![ejustine](https://talk.openmrs.org/letter_avatar/ejustine/32/5_5575768a8748004e209b776fc1b2916d.png) [@ejustine](https://talk.openmrs.org/u/ejustine)\
**Post date:** [December 5, 2018, 6:17am UTC](https://talk.openmrs.org/t/setup-time-zone/10120/8 "2018-12-05T06:17:58Z")

</div>

I did insatll bahmni vagrant and have tried editing the time zone in

> /etc/bahmni-installer/setup.yml

 ![image](https://talk.openmrs.org/uploads/default/original/2X/9/9da7a6ec3cf3e7621ede174d7f448d3748fe63b4.png)

And still not changing to the time zone.

Thanks in advance
