T-SQL – Standard Deviation for Times?

Is there a T-SQL coding best practice to get an accurate standard deviation value for a group of times? STDEV doesn’t like the TIME data type. I’m thinking that maybe a conversion to minutes as an INT, but a conversion from/to what? Any suggestions?