DateCreated, propriété

Renvoie la date et l'heure de création du fichier ou du dossier spécifié. Lecture seule.

object.DateCreated

L'argument object représente toujours un objet File ou Folder.

Notes

Le code suivant illustre l'emploi de la propriété DateCreated avec un fichier :

Function ShowFileInfo(filespec)
   Dim fso, f
   Set fso = CreateObject("Scripting.FileSystemObject")
   Set f = fso.GetFile(filespec)
   ShowFileInfo = "Créé le: " & f.DateCreated
End Function

Voir aussi

Attributes, propriété | DateLastAccessed, propriété | DateLastModified, propriété | Drive, propriété | Files, propriété | IsRootFolder, propriété | Name, propriété | ParentFolder, propriété | Path, propriété | ShortName, propriété | ShortPath, propriété | Size, propriété | SubFolders, propriété | Type, propriété

Application: File, objet | Folder, objet