# \[Feature Request\] Seconds to timestamp (HH:MM:SS)

**URL:** https://community.mp3tag.de/t/feature-request-seconds-to-timestamp-hhss/53756
**Category:** Web Sources Discussion
**Created:** [July 15, 2021, 11:17am UTC](https://community.mp3tag.de/t/feature-request-seconds-to-timestamp-hhss/53756 "2021-07-15T11:17:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bugzero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/bugzero/32/10350_2.png) [@bugzero](https://community.mp3tag.de/u/bugzero)
#### Post date: [July 15, 2021, 11:17am UTC](https://community.mp3tag.de/t/feature-request-seconds-to-timestamp-hhss/53756/1 "2021-07-15T11:17:12Z")

</div>

Could it be possible to add a new command to web script to convert a number of seconds to a time stamp?

Just imagine we have selected a json value "292", using a command like convert it to "00:04:52"

Now it is hard to get the value using replace and regexpreplace

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [July 19, 2023, 7:48pm UTC](https://community.mp3tag.de/t/feature-request-seconds-to-timestamp-hhss/53756/2 "2023-07-19T19:48:16Z")

</div>

Just wanted to give a short update here. The next version will have a `SayDuration` function which emits a formatted duration string.

_Edit_: This is now available with [Mp3tag v3.21b](https://community.mp3tag.de/t/455).
