[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.CsvOpenOptions.ConvertDateTimeData

ConvertDateTimeData Property

ConvertDateTimeData

Gets or sets a value that indicates whether strings in a CSV text file are converted to date data when the file is opened.

The default value is true. When this property is true, text that can be recognized as date or time data is converted during CSV import.

Declaration
public bool ConvertDateTimeData { get; set; }
Public Property ConvertDateTimeData As Boolean
Examples
CsvOpenOptions options = new CsvOpenOptions();
options.ConvertDateTimeData = false;
bool convertDateTimeData = options.ConvertDateTimeData;
workbook.Open("path/to/data.csv", options);