SetCellDateValue Method

Summary

Sets a cell's content to a DateTime value within an Excel sheet. Allows for the direct assignment of date and time information to a cell.

Syntax

TypeScript
JavaScript
Cell.prototype.setCellDateValue = function( 
   date 
) 
setCellDateValue( 
   date: number 
): void; 

Parameters

date

The DateTime value to be assigned to the cell.

Remarks

Due to localization, calculation, and other application and usage requirements, it is important to consider the SetDataFormatString in which the DateTime value will be displayed in the cell.

Requirements

Target Platforms

See Also

Cell Class

Cell Members

Leadtools.Document.SheetEditor Namespace

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

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