Hi everyone, i would like to ask if someone can turn this clock value into mili seconds? This is a string. It should be dynamic for all other string. I am currently working on a time messuring line for my music game.
The string given here (red arrow) is the total duration of the game. It is stored in a text file that the game will use to get the song informations.
The other value (green arrow) is the current time of the song, It is formated like this minute: second: milisecond
Well. Now i dont know how to make python turn the string value there into the same format like the current time T.T
If my questions are not understandable, feel free to ask me.
i actually need only the XX:XX format. it is the value i save in an external text file. During the game. the song length is calculated into XX:XX:XX with the module time ( pohjan coded this for me before). I need these 2 values to get the percentage value between them. So i can apply to the song length indicating object, to make it scale from 0.0 to 1.0