The task was given to me was so confusing. It says use isAfter() or isBefore() it is to define if the time entered by the user is past the current
isAfter()
isBefore()