question about rotation

i have few cubes that i want to rotate around y-axis every few seconds by 90 degrees.
here is what i have so far, not much. i find working with rotations hard, although i think this should be easy to do…but i am out of ideas

var t = 0.0;
	while (t<1.0){
					
		//RESET VALUES TO THE DEFAULT ONES
		t+=Time.deltaTime *(1.0/1);		
		
		 cube1.transform.Rotate(Vector3.up, t);
		 cube2.transform.Rotate(Vector3.up, t);
		 cube3.transform.Rotate(Vector3.up, t);
		 cube4.transform.Rotate(Vector3.up, t);
		 cube5.transform.Rotate(Vector3.up, t);
		
		yield;			
	}

this does not rotate by 90 degrees

so the problem is that i do not know how to track rotations and how to rotate for 90 degrees every few seconds.
thanks for the help!!

Use this.

–Eric

thank you!