For a guide to the choosing ASP or PHP, click here
Home >> Text Files >> Get the Creation Date of a File This code shows a simple way to get the creation date of a local file
<% ' declare variables dim fso, file, ourFile, ourFileDate ' specify a file ourFile = "filename.txt" ' get the creation date Set fso = Server.CreateObject("Scripting.FileSystemObject") Set file = fso.GetFile(ourFile) ourFileDate = file.DateCreated ' clean up our variables Set file = nothing Set fso = nothing ' ourFileDate now holds the creation ' date of the specified file %> What is ASP?
What is PHP?