To do it before analyzing the data may be one better choice. If you agree how RANK dealing with tied values, you can try proc rank to select the 90% time (each 5% for lower and upper):
[code:2px8oluw]proc rank data=Have out=rankHave(where =(timeRank not in (0 19))) groups=20;
var time;
ranks timeRank;
run;[/code:2px8oluw]
JingJu