<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>
<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>
More: 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.
HostBreak United States


