Completed Date picker logic.