Rotate object in a set amount of time

The title says it all. How do i rotate an object in a set amount of time? eg : rotate 90 degrees in 5 seconds

See the Rotation function here: http://www.unifycommunity.com/wiki/index.php?title=MoveObject