# PBS time doesn't match system time

**URL:** <https://community.openpbs.org/t/pbs-time-doesnt-match-system-time/1314>\
**Category:** Users/Site Administrators\
**Created:** [November 18, 2018, 1:02pm UTC](https://community.openpbs.org/t/pbs-time-doesnt-match-system-time/1314 "2018-11-18T13:02:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Watson](https://avatars.discourse-cdn.com/v4/letter/w/ce73a5/32.png) [@Watson](https://community.openpbs.org/u/Watson)\
**Post date:** [November 18, 2018, 1:02pm UTC](https://community.openpbs.org/t/pbs-time-doesnt-match-system-time/1314/1 "2018-11-18T13:02:43Z")

</div>

PBS thinks its UTC timezone. How do I move this to my time zone? The manual talks about setting the PBS\_TZID enviornment variable for the submission host, but i’m not sure this is the right thing to do. Anyways how do i set this env variable?

Thanks,  
Lee

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [November 18, 2018, 5:36pm UTC](https://community.openpbs.org/t/pbs-time-doesnt-match-system-time/1314/2 "2018-11-18T17:36:24Z")

</div>

Please set it in one of the below methods:

1. pbs\_environment ( location : $PBS\_HOME/pbs\_environment , after updating **this file restart pbs services** )  
Refer : 8.7 Paths and Environment Variables  
[https://www.pbsworks.com/pdfs/PBS18.2\_BigBook.pdf](https://www.pbsworks.com/pdfs/PBS18.2_BigBook.pdf)

2. Add the PBS\_TZID value to the .bashrc file of the respective user(s)

---

<div class="post-metadata">

**Author:** ![Watson](https://avatars.discourse-cdn.com/v4/letter/w/ce73a5/32.png) [@Watson](https://community.openpbs.org/u/Watson)\
**Post date:** [November 18, 2018, 10:10pm UTC](https://community.openpbs.org/t/pbs-time-doesnt-match-system-time/1314/3 "2018-11-18T22:10:54Z")

</div>

Used method 1.  
TZ=US/Eastern

then systemctl restart pbs

Worked. It took a minute after the restart to start rerading the right time, which was suprising. I thought it didn’t work, but eventually it started displaying the right time.

Thank you for your help!  
Lee
