Sample code for 30+ languages & platforms
CkPython Requires Chilkat v11.0.0+

Transition from ZipEntry.GetDt to ZipEntry.FileDateTimeStr

Provides instructions for replacing deprecated GetDt method calls with FileDateTimeStr.

Chilkat CkPython Downloads

CkPython
import sys
import chilkat

entry = chilkat.CkZipEntry()

#  ...
#  ...

#  ------------------------------------------------------------------------
#  The GetDt method is deprecated:

# dtObj is a CkDateTime
dtObj = entry.GetDt()
if (entry.get_LastMethodSuccess() == False):
    print(entry.lastErrorText())
    sys.exit()

#  ...
#  ...

#  ------------------------------------------------------------------------
#  Do the equivalent using FileDateTimeStr.

dt = chilkat.CkDateTime()
dt.SetFromRfc822(entry.fileDateTimeStr())