# Wowza timezone

**URL:** <https://community.wowza.com/t/wowza-timezone/34288>\
**Category:** Wowza Streaming Engine\
**Tags:** server-administration\
**Created:** [June 4, 2014, 5:11pm UTC](https://community.wowza.com/t/wowza-timezone/34288 "2014-06-04T17:11:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hugo\_De\_Zela](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@Hugo\_De\_Zela](https://community.wowza.com/u/Hugo_De_Zela)\
**Post date:** [June 4, 2014, 5:11pm UTC](https://community.wowza.com/t/wowza-timezone/34288/1 "2014-06-04T17:11:15Z")

</div>

This is more an FYI to everyone than a request for support, as I’ve just spent the better part of today figuring this out.

If you’re on CentOS or other RHEL systems, you’re used to “ln -sf /usr/share/zoneinfo/[YOUR]/[ZONE] localtime” to change the timezone of your machine, which is then either picked up by your scripts or has to be explicitly declared.

Wowza (well, Java actually, but Wowza for the purposes of this thread) does neither, it instead looks for the timezone in “/etc/sysconfig/clock” where it looks for a ZONE="[YOUR]/[ZONE]" line; that’s where you need to change it for Wowza to pick up the timezone you want.

Sorry if this is old hat for Java people but, from what a forum search of “timezone” gives, it’s not stated as far as I can see. Hopefully this helps someone else with the same issue.

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [June 6, 2014, 2:22am UTC](https://community.wowza.com/t/wowza-timezone/34288/2 "2014-06-06T02:22:38Z")

</div>

Hello,

Thank you for sharing your findings.

You can also specify the timezone used by Wowza if you add “-Duser.timezone=UTC” in the Wowza startup script (startup.sh).

You should add it to this line:

```auto
$_EXECJAVA $WMSTUNE_OPTS $JMXOPTIONS -Dcom.wowza.wms.runmode="$mode" -Dcom.wowza.wms.native.base="linux" -Dcom.wowza.wms.AppHome="$WMSAPP_HOME" -Dcom.wowza.wms.ConfigURL="$WMSCONFIG_URL" -Dcom.wowza.wms.ConfigHome="$WMSCONFIG_HOME" -Duser.timezone=Europe/Brussels -cp $WMSAPP_HOME/bin/wms-bootstrap.jar com.wowza.wms.bootstrap.Bootstrap start

```

Zoran

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [October 5, 2014, 8:06pm UTC](https://community.wowza.com/t/wowza-timezone/34288/3 "2014-10-05T20:06:48Z")

</div>

Hi,

You can find the startup.sh script located at:

[install-dir]/bin

typically:

/usr/local/WowzaStreamingEngine/bin

Daren

---

<div class="post-metadata">

**Author:** ![TUNG\_TRAN](https://avatars.discourse-cdn.com/v4/letter/t/eb8c5e/32.png) [@TUNG\_TRAN](https://community.wowza.com/u/TUNG_TRAN)\
**Post date:** [October 3, 2014, 3:11pm UTC](https://community.wowza.com/t/wowza-timezone/34288/4 "2014-10-03T15:11:36Z")

</div>

> Hello,
> 
> Thank you for sharing your findings.
> 
> You can also specify the timezone used by Wowza if you add “-Duser.timezone=UTC” in the Wowza startup script (startup.sh).
> 
> You should add it to this line:
> 
> ```auto
> $_EXECJAVA $WMSTUNE_OPTS $JMXOPTIONS -Dcom.wowza.wms.runmode="$mode" -Dcom.wowza.wms.native.base="linux" -Dcom.wowza.wms.AppHome="$WMSAPP_HOME" -Dcom.wowza.wms.ConfigURL="$WMSCONFIG_URL" -Dcom.wowza.wms.ConfigHome="$WMSCONFIG_HOME" -Duser.timezone=Europe/Brussels -cp $WMSAPP_HOME/bin/wms-bootstrap.jar com.wowza.wms.bootstrap.Bootstrap start
> 
> ```
> 
> Zoran

Hi

Where I can file startup script on Linux version?
