return empty string when receives invalid date