Xbase++ Requires Chilkat v11.0.0+
Xbase++
Transition from ZipEntry.GetDt to ZipEntry.FileDateTimeStr
Provides instructions for replacing deprecated GetDt method calls with FileDateTimeStr.Chilkat Xbase++ Downloads
LOCAL oEntry
LOCAL oDtObj
LOCAL oDt
oEntry := CreateObject("Chilkat.ZipEntry")
// ...
// ...
// ------------------------------------------------------------------------
// The GetDt method is deprecated:
oDtObj := oEntry:GetDt()
IF (oEntry:LastMethodSuccess == 0)
? oEntry:LastErrorText
oEntry:destroy()
RETURN
ENDIF
// ...
// ...
oDtObj:destroy()
// ------------------------------------------------------------------------
// Do the equivalent using FileDateTimeStr.
oDt := CreateObject("Chilkat.CkDateTime")
oDt:SetFromRfc822(oEntry:FileDateTimeStr)
oEntry:destroy()
oDt:destroy()