# change format of ${SegmentTime}

**URL:** <https://community.wowza.com/t/change-format-of-segmenttime/44577>\
**Category:** Wowza Streaming Engine\
**Created:** [January 17, 2015, 6:23pm UTC](https://community.wowza.com/t/change-format-of-segmenttime/44577 "2015-01-17T18:23:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dominique\_Grecian](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@Dominique\_Grecian](https://community.wowza.com/u/Dominique_Grecian)\
**Post date:** [January 17, 2015, 6:23pm UTC](https://community.wowza.com/t/change-format-of-segmenttime/44577/1 "2015-01-17T18:23:01Z")

</div>

Hi, we have wowza streaming engine installed and we are recording our streams which are segmented every hour.

We currently using ${SegmentTime} to construct part of the file name, however is it possible to adjust the time format?

currently ${SegmentTime} structures the time like 2014-02-11-08.51.31.104-PDT

but we wish to simplify it so its more like 2014-02-11-08 (year-month-day-hour)

Does anyone know if this is possible?

thanks!

---

<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:** [January 18, 2015, 2:23pm UTC](https://community.wowza.com/t/change-format-of-segmenttime/44577/2 "2015-01-18T14:23:56Z")

</div>

Hello,

Stream Recorders rely on a file version delegate to generate a file name for use by the recorder. Wowza Streaming Engine has two built-in file version delegates, StreamRecorderFileVersionDelegate and StreamRecorderSimpleFileVersionDelegate.

[Here](https://www.wowza.com/docs/how-to-start-and-stop-live-stream-recordings-programmatically-livestreamrecordautorecord-example%28LiveStreamRecordAutoRecord-example%29#delegate) is an example on how you can build a customised file lame versioning.

Zoran
