Page tree
    Created with Raphaël 2.1.0
    Loading...
Skip to end of metadata
Go to start of metadata

Description

Sets or returns the workbook's creation date. By default, CreationDate returns the spreadsheet's actual creation date. You can set CreationDate to a different date, but this will not change the creation date displayed in the spreadsheet's Properties sheet.
C#
public System.DateTime CreationDate{ get; set; }
vb.net
Public Property CreationDate() As Date

Examples

C#
//--- Get CreationDate
DateTime createDate = docProps.CreationDate;
 
//--- Set CreationDate
docProps.CreationDate = new DateTime(2005, 08, 04);
vb.net
'--- Get CreationDate
Dim createDate As DateTime = docProps.CreationDate
 
'--- Set CreationDate
docProps.CreationDate = New DateTime(2005, 08, 04)
  • No labels