Create delivery Date function