I have 1 stored procedure that returns a Datetime value , I want to convert it into function so that i can call this function in multiple stored procedure? How can we do that?