Check valid date for edit annotation (assumes the format yyyy-mm-dd)