Re: Microsoft VBScript compilation error '800a03f6' by Steven
Steven
Mon May 30 16:19:17 CDT 2005
<%
Function getLastUpdatedDate()
Dim sPath, objFSO, objFl
Set objFSO =3D CreateObject("Scripting.FileSystemObject")
sPath =3D Request.ServerVariables("SCRIPT_NAME")
set objFl =3D objFSO.GetFile(Server.MapPath(sPath))
getLastUpdatedDate =3D DateValue(objFl.DateLastModified)
Set objFSO =3D Nothing
End Function
%>
--=20
Regards
Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk
Keeping it FREE!
"chug" <chg@rbuy.com> wrote in message =
news:1117486889.873913.307140@g47g2000cwa.googlegroups.com...
> I need help with this error:
>=20
> Microsoft VBScript compilation error '800a03f6'
>=20
> Expected 'End'
>=20
> /Includes/MediatorFooter.asp, line 66
>=20
> SCRIPT:
> </body>
> <%function getLastUpdatedDate
>=20
> set fso =3D CreateObject("Scripting.FileSystemObject")
> set fil =3D
> fso.GetFile(Server.MapPath(Request.ServerVariables("SCRIPT_NAME")))
> getLastUpdatedDate =3D DateValue(fil.DateLastModified)
>=20
> End Function%></html>
>=20
> Thanks,
>=20
> Charles
>=20