Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/09/2003, 10:19
Avatar de RootK
RootK
Moderador
 
Fecha de Ingreso: febrero-2002
Ubicación: México D.F
Mensajes: 8.004
Antigüedad: 23 años, 2 meses
Puntos: 50
Hola.. espero que te sirva este code:

Cita:
<%
Dim objFSO
Dim objFile
Dim dateModified

' Creates the object and assigns it to our variable.
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")

' Get access to the file
Set objFile = objFSO.GetFile(Server.MapPath("modified.asp"))

' Get last modified property
dateModified = objFile.DateLastModified

' You can format it as you like using the FormatDateTime command
%>
This file was modified on the date and time below:<BR>
You can write out the date as is...<BR>
<%= dateModified %>;<BR>
<BR>
<%= FormatDateTime(dateModified, 1) %>; at <%= FormatDateTime(dateModified, 3) %><BR>
<%
Set objFile = Nothing
Set objFSO = Nothing
%>
}

Saludos
__________________
Nadie roba nada ya que en la vida todo se paga . . .

Exentrit - Soluciones SharePoint & Net