# How to display the length of a sound file in minute and second?

**URL:** <https://forum.kirupa.com/t/how-to-display-the-length-of-a-sound-file-in-minute-and-second/117576>\
**Category:** Uncategorized\
**Created:** [July 28, 2004, 3:21pm UTC](https://forum.kirupa.com/t/how-to-display-the-length-of-a-sound-file-in-minute-and-second/117576 "2004-07-28T15:21:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Silent\_Voice](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@Silent\_Voice](https://forum.kirupa.com/u/Silent_Voice)\
**Post date:** [July 28, 2004, 3:21pm UTC](https://forum.kirupa.com/t/how-to-display-the-length-of-a-sound-file-in-minute-and-second/117576/1 "2004-07-28T15:21:58Z")

</div>

i want to know how i can display a .mp3 songs duration in minutes and second like ‘3:15’ in flash…

---

<div class="post-metadata">

**Author:** ![McGiver](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@McGiver](https://forum.kirupa.com/u/McGiver)\
**Post date:** [July 28, 2004, 3:30pm UTC](https://forum.kirupa.com/t/how-to-display-the-length-of-a-sound-file-in-minute-and-second/117576/2 "2004-07-28T15:30:41Z")

</div>

mysound.duration

returns the length of a sound in milliseconds
