Lianja
Lianja
Transition from ZipEntry.GetDt to ZipEntry.FileDateTimeStr
Provides instructions for replacing deprecated GetDt method calls with FileDateTimeStr.Chilkat Lianja Downloads
loEntry = createobject("CkZipEntry")
// ...
// ...
// ------------------------------------------------------------------------
// The GetDt method is deprecated:
loDtObj = loEntry.GetDt()
if (loEntry.LastMethodSuccess = .F.) then
? loEntry.LastErrorText
release loEntry
return
endif
// ...
// ...
release loDtObj
// ------------------------------------------------------------------------
// Do the equivalent using FileDateTimeStr.
loDt = createobject("CkDateTime")
loDt.SetFromRfc822(loEntry.FileDateTimeStr)
release loEntry
release loDt