# How can I get the time of a specific Event?

**URL:** <https://qa.fmod.com/t/how-can-i-get-the-time-of-a-specific-event/12101>\
**Category:** Unity\
**Created:** [October 20, 2015, 6:19am UTC](https://qa.fmod.com/t/how-can-i-get-the-time-of-a-specific-event/12101 "2015-10-20T06:19:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LyonGu](https://avatars.discourse-cdn.com/v4/letter/l/eb8c5e/32.png) [@LyonGu](https://qa.fmod.com/u/LyonGu)\
**Post date:** [October 20, 2015, 6:19am UTC](https://qa.fmod.com/t/how-can-i-get-the-time-of-a-specific-event/12101/1 "2015-10-20T06:19:15Z")

</div>

Hi,I use FMOD in Unity.Now I create an event,but how can I get its time?  
I found EevntDescription.getLength,is this correct?  
Thanks!

---

<div class="post-metadata">

**Author:** ![geoff](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@geoff](https://qa.fmod.com/u/geoff)\
**Post date:** [October 28, 2015, 11:08pm UTC](https://qa.fmod.com/t/how-can-i-get-the-time-of-a-specific-event/12101/2 "2015-10-28T23:08:32Z")

</div>

That function returns the length of the timeline for the type of event:  
[http://www.fmod.org/documentation/#content/generated/FMOD\_Studio\_EventDescription\_GetLength.html](http://www.fmod.org/documentation/#content/generated/FMOD_Studio_EventDescription_GetLength.html)

If you want to get the current timeline position for an instance, you will need to call the following function:  
[http://www.fmod.org/documentation/#content/generated/FMOD\_Studio\_EventInstance\_GetTimelinePosition.html](http://www.fmod.org/documentation/#content/generated/FMOD_Studio_EventInstance_GetTimelinePosition.html)

---

<div class="post-metadata">

**Author:** ![huhuabing](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@huhuabing](https://qa.fmod.com/u/huhuabing)\
**Post date:** [July 22, 2016, 2:23pm UTC](https://qa.fmod.com/t/how-can-i-get-the-time-of-a-specific-event/12101/3 "2016-07-22T14:23:09Z")

</div>

Hi!I have encountered this problem you, want to get a sound file specific time, would you solve your problem?

---

<div class="post-metadata">

**Author:** ![geoff](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@geoff](https://qa.fmod.com/u/geoff)\
**Post date:** [July 25, 2016, 12:55am UTC](https://qa.fmod.com/t/how-can-i-get-the-time-of-a-specific-event/12101/4 "2016-07-25T00:55:47Z")

</div>

> [@](#):
>
> Hi!I have encountered this problem you, want to get a sound file specific time, would you solve your problem?

There is no way to get the specific time for sounds playing inside the event.
