fileCreatedDate Property

       

Returns a String that represents the date and time the file was created. Read-only.

expression.fileCreatedDate

expression   Required. An expression that returns a DispFPHTMLDocument object.

Example

The following example displays the title of the file and the date and time it was created.

Sub GetCreationDate()
'Returns the creation date of the current document

    Dim objApp As FrontPage.Application
    Dim objDoc As DispFPHTMLDocument

    Set objApp = FrontPage.Application
    Set objDoc = objApp.ActiveDocument
    'Display name of file and date created.
    MsgBox "The file " & objDoc.nameProp & " was created on " & _
            objDoc.fileCreatedDate & "."

End Sub