←Select platform

DateCellValue Property

Summary

Gets the value of a cell as a date. This property is relevant for cells that are formatted as dates or contain date information.

Syntax

C#
C++/CLI
Python
public DateTime DateCellValue { get; } 
public:  
   property DateTime^ DateCellValue 
   { 
      DateTime^ get() 
   } 
DateCellValue # get  (Cell) 

Property Value

The DateCellValue property is a read-only property that extracts the content of an Excel cell as a DateTime.

Remarks

The DateCellValue property is often used in conjunction with other cell properties. One such case is using in conjunction with CellType to ensure that the cell is indeed a date type before attempting to access its date value.

Requirements

Target Platforms

See Also

Cell Class

Cell Members

Leadtools.Document.LEADOffice.Sheet Namespace

Help Version 23.0.2024.4.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.LEADOffice Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.