<%
Dim objCMFU
Dim strModified
Set objCMFU = Server.CreateObject(“CM_FileUtils.GetProperty”)
‘ Ã¥ÂÂ建对象并èµÂç»ÂÃ¥ÂÂéÂÂï¼Â并ä¸ÂGetPropertyç±»æ¯å½ÂÃ¥ÂÂå¯ä¸Âå¯ç¨çÂÂ.
xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /??
strModified = objCMFU.LastModified
‘ æ£Â索并è¿ÂÃ¥ÂÂÃ¥ÂÂ
å«æÂÂÃ¥ÂÂä¿®æ¹æÂ¥æÂÂÃ¥ÂÂæ¶é´ï¼ÂLastModified function ï¼Âå¼.å½Âç¶äºÂ,è¿Âè¦ÂèÂÂèÂÂå°åºéÂÂçÂÂå¯è½.
ÃÂ
Set objCMFU = Nothing
‘ æ¸Â
空.
%>
<% If strModified = “Error!” Then %>
对ä¸Âèµ·,åºéÂÂäºÂ!
<% Else %>
è¿Â个æÂÂ件æÂÂÃ¥ÂÂä¿®æ¹äºÂ:
<%= strModified %>
<%= FormatDateTime(CDate(strModified),1) %>
<%= FormatDateTime(CDate(strModified),3) %>
ÃÂ
<% End If %>
ÃÂ
[1]