![]() |
VOOZH | about |
The ASP DateCreated Property is used to return the date and time when the given file was created on the system.
Syntax:
For File Object:
FileObject.DateCreated
For Folder Object:
FolderObject.DateCreated
The below examples demonstrate the ASP DateCreated Property.
Example 1: The below code demonstrates the ASP File.DateCreated Property.
Output:
File created on: 3/4/2020 10:07:20 AM
Example 2: The below code demonstrates the ASP Folder.DateCreated Property.
Output:
This folder was created on: 12-03-2021 12:54:29