mins to date input fields