Robert_Smith
New Contributor II

This UDF takes two parameters startDate and tillDate, and returns an integer number. Create a udf in sql server with return type integer.