Classic ASP
Classic ASP
Transition from ZipEntry.GetDt to ZipEntry.FileDateTimeStr
Provides instructions for replacing deprecated GetDt method calls with FileDateTimeStr.Chilkat Classic ASP Downloads
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
set entry = Server.CreateObject("Chilkat.ZipEntry")
' ...
' ...
' ------------------------------------------------------------------------
' The GetDt method is deprecated:
' dtObj is a Chilkat.CkDateTime
Set dtObj = entry.GetDt()
If (entry.LastMethodSuccess = 0) Then
Response.Write "<pre>" & Server.HTMLEncode( entry.LastErrorText) & "</pre>"
Response.End
End If
' ...
' ...
' ------------------------------------------------------------------------
' Do the equivalent using FileDateTimeStr.
set dt = Server.CreateObject("Chilkat.CkDateTime")
success = dt.SetFromRfc822(entry.FileDateTimeStr)
%>
</body>
</html>