VOOZH about

URL: https://www.geeksforgeeks.org/web-tech/aspdatelastmodified-property/

⇱ ASPDateLastModified Property - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

ASPDateLastModified Property

Last Updated : 10 May, 2025

The ASP DateLastModified Property is used to get the date and time when the particular file or folder was last modified or update on the system.

Syntax:

  • For file Object:
FileObject.DateLastModified 
  • For folder Object:
FolderObject.DateLastModified

Example-1: Below code demonstrates the ASP File.DateLastModified Property. 

Output:

File last modified on: 1/10/2020 10:01:19 AM

Example-2: Below code demonstrates the ASP Folder.DateLastModified Property.

Output:

Folder last modified on: 1/10/2020 10:01:19 AM
Comment