Online Documentation for Advanced Data Export .NET



public XlsCell AddDateTimeCell(ushort Col, ushort Row, string DateTimeFormat, DateTime Value)



The AddDateTimeCell adds the date/time value defined in the Value parameter to the specified position. The position is defined by the Col parameter as a column number and the Row parameter as a row number. The Row and the Col parameters are 1-based. The DateTimeFormat parameter is a formatting string for the value. The returned value is the created XlsCell object. You can define the properties of this object to customize the created cell.