Created a Function for Due Dates

Created a Function for Due Dates