Property DateFormat
DateFormat
Gets or sets the number format given to a cell that takes a DateTime and
whose own format does not show dates. Default yyyy-mm-dd. Null or empty leaves
the cell's format alone, and the date then shows as its serial number.
public string? DateFormat { get; set; }