Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

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.

...

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public System.DateTime CreationDate{ get; set; }
{signature}{signature:</pre></td></tr></tbody></table>
} Public
Signature
vb.net
vb.net

<p>Public Property CreationDate() As Date
{signature}
{example}{code:csharp|title=C#}Date</p>
Example
Code Block
csharp
csharp
titleC#


          //--- Get CreationDate
          DateTime createDate = docProps.CreationDate;

          //--- Set CreationDate
          docProps.CreationDate = new DateTime(2005, 08, 04);
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Get CreationDate
          Dim createDate As DateTime = docProps.CreationDate

          '--- Set CreationDate
          docProps.CreationDate = New DateTime(2005, 08, 04)
        
{code} {example}