Countdown with sec and min

I want to do countdown with minutes and seconds, when i put 360 in my var i want to do from this 6 minutes, 0 seconds and start countdown. Mathf, but i don’t know how to do this, can you help me ?

float timer = 360; //Time in floating seconds

void Update () {
	timer -= Time.deltaTime;
}

That should do for the timer, as for the minutes = timer/60 and floor the out come. The seconds = timer - (minutes * 60).

To answer your question, I copied your title, put it in google and added the word “Unity” , This was the first link that poped up.