CodeAve.com CodeAve.com - ASP - Read/Write
ASP
·Read/Write
·Script Writers
·Database Display
·Response Objects
·Server Variables
·Random Events
·Articles
·Miscellaneous
·Contents
·What's New?
JavaScript
CSS
HTML
Maps
Links
Mail List
Search
Sitemap


 


Date of the Current ASP Document
Many places on the web feature the date that the current document was last modified on.  Rather than changing the date manually, using a FrontPage WebBot, or targeting the document by writing it directly into the script,  let the server ask the document an it will tell you.  The following script can be placed on any .asp document and will display the date and the date/time it was last modified.
View the Output
Text View
Print View
Mail this Link
Download the Code

<% 
file_info = request.servervariables("appl_physical_path") 
file_info = file_info + right(request.servervariables("script_name"),(len(request.servervariables("script_name"))-1)) 
set fso = createobject("scripting.filesystemobject") 
%>

Date Last Modified
<br>
<%= datevalue(fso.getfile(file_info).datelastmodified) %>
<br>
Date/Time Last Modified
<br>
<%= fso.getfile(file_info).datelastmodified %>

 

 

 



ASP: What's New? | Articles | Script Writers | Database Display | Read/Write
Server Variables | Response Objects | Random Events | Miscellaneous
HTML: Forms | Hyperlinks | Headers | Tables | Hyperlinks | Headers | Text Display
JavaScript: Document Info | Forms | Images | Navigation | Script Writers
CSS: Basics | Page Display | Text Display | Script Writers | Miscellaneous
  • 2014 michael kors
  • air max women 2013
  • 2014 michael kors
  • air max 2014
  • oakley glasses
  • oakley glasses

  • Maps: Map Script Writers | Bing Maps | Google Maps
  • bottes fr
  • ugg boot
  • Privacy Statement

    CodeAve.com is hosted by MyHosting.com
    Donate Food Online with a Mouse Click at TheHungerSite.com
    Donate Land Online with a Mouse Click at TheRainForestSite.com
    © 1999 - 2017 CodeAve.com
    All Rights Reserved

  • Kids jordan 6 rings
  • Jordan retro 10
  • Jordan retro 3