# Syntax for setting time zone

**URL:** <https://forum.generic-mapping-tools.org/t/syntax-for-setting-time-zone/1249>\
**Category:** PyGMT Q&A\
**Created:** [January 24, 2021, 11:11am UTC](https://forum.generic-mapping-tools.org/t/syntax-for-setting-time-zone/1249 "2021-01-24T11:11:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![willschlitzer](https://avatars.discourse-cdn.com/v4/letter/w/f04885/32.png) [@willschlitzer](https://forum.generic-mapping-tools.org/u/willschlitzer)\
**Post date:** [January 24, 2021, 11:11am UTC](https://forum.generic-mapping-tools.org/t/syntax-for-setting-time-zone/1249/1 "2021-01-24T11:11:00Z")

</div>

![Screenshot from 2021-01-24 11-00-50](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/1X/0ecbf5c6cfad15bb1c2304ec964c4bceba2ec505.jpeg)

I’m working on wrapping the GMT `solar` module for PyGMT. The argument that I’m using to set the time to plot the day/night terminator is `Td="+d2021-01-24T10:57:00+z0`. I found [this post](https://flint.soest.hawaii.edu/t/gmt-6-solar-module-colour-fill-flipped/1112) that shows @Joaquim using the same syntax I have for setting the time zone, but it’s for the `-I` parameter instead of `-T`. As I understand it, I have to append **+z** with a number to indicate the time zone’s offset from UTC. However, I’m not getting any differences in the output when I change the time zone for any of the terminator options (I went with the the day/night terminator for the example but it’s the same effect for nautical, civil, and astronomical). Thanks in advance for the help!

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [January 24, 2021, 4:38pm UTC](https://forum.generic-mapping-tools.org/t/syntax-for-setting-time-zone/1249/2 "2021-01-24T16:38:38Z")

</div>

It’s a bug. I see it now. The code, like for **-I** , searches for “+” as an indicator of the **+z** but gets caught in the first **+d**. Please open an issue.
