check date if don't use24hours format