|
Today is
|
|
|
<%
' Begin code to get the last modified date of the current document
' Get the location of the root directory for the server
file_info = request.servervariables("appl_physical_path")
' Get the location of the current file on the server
file_info = file_info + right(request.servervariables("script_name"),(len(request.servervariables("script_name"))-1))
' create a file scripting object on the server
set fso = createobject("scripting.filesystemobject")
' Assign a variable to contain the document date last modified
document_date=fso.getfile(file_info).datelastmodified
response.write "Last Modified "
response.write monthname(month(datevalue(document_date))) &" "& day(datevalue(document_date)) &", "& year(datevalue(document_date))
' End code to get the last modified date of the current document
%>
|