Getting the current time of playing audio

Hi guys

i want to know how to get the current position in time of a playing audio source?
Can anyone help

Check out AudioSource.time and AudioSource.timeSamples.

I am trying to attach the current position of the sound to a slider

float lerp = (float)sound.timeSamples / slider.width;
sliders[0].Value = lerp;

the timeSamples are quite big the length of the audio is 5 secounds but when you do a debug.log its saying 900