DECLARE @return_value int
EXEC @return_value = [GetSQLUptime]
SELECT 'Return Value' = @return_value
GO
Output is as follows:
ServerName SQLUptime_Days_Hours_Minutes
--------------------------------------------------------------------------------
DATABASESERVER1 0 Days, 20 Hours, 06 Minutes