How can we Control a date input if theres a cut off time?