Click here to return to the home page
HostingServicesComponentsSupport
 

Latest news

Anti virus email
Junk email filtering
Technical
Location
Network structure
SLA
Terms & conditions
WiSS design

 

 

Copyright © WiSS Limited
All rights reserved

 

Intro | JMail | ASPEmail | ASPEncrypt | ASPGrid | ASPUload | SAFileUP | ImageSize | GUID | LastMod | ASP Resources

LastMod

Get a file's last modified date/time from ASP

<html>
<head>
<title>LastMod Example Script</title>
</head>

<body>
<blockquote>
<h2 align=center>LastMod for ASP Example Script</h2>

<%
Set FileObj = Server.CreateObject ("LastMod.FileObj")
Response.Write "The Date Format is currently " & FileObj.DateFormat & "<br>"
Response.Write "The Time Format is currently " & FileObj.TimeFormat & "<br>"
Response.Write "<b>This file was last modified " & FileObj.LastModified & _
		("d:\inetpub\scripts\lastmod.asp") & "</b><p>"

rem ***************************************************
rem * Modify how the info is formatted
rem ***************************************************
FileObj.TimeFormat = "hh:mm:ss am/pm"
FileObj.DateFormat = "ddd, mmm d yyyy"
Response.Write "The Date Format is currently " & FileObj.DateFormat & "<br>"
Response.Write "The Time Format is currently " & FileObj.TimeFormat & "<br>"
Response.Write "<b>This file was last modified " & FileObj.LastModified & _
	("d:\inetpub\scripts\lastmod.asp") & "</b><p>"

%>

</blockquote>
</body>
</html>

There is no technical information for this component. Component supplied by www.serverobjects.com.

Please note: We do not provide support on components we offer. You will find links to the relevant vendor on each page where appropriate. Our licensing of components does not cover your local installation.

 

 
Mae WiSS yn cwmni dwyieithog
WiSS Ltd : Intec : Parc Menai : Bangor : Gwynedd : LL57 4FG