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

Transition from ZipEntry.GetDt to ZipEntry.FileDateTimeStr

Provides instructions for replacing deprecated GetDt method calls with FileDateTimeStr.

Chilkat Visual FoxPro Downloads

Visual FoxPro
LOCAL loEntry
LOCAL loDtObj
LOCAL loDt

loEntry = CreateObject('Chilkat.ZipEntry')

*  ...
*  ...

*  ------------------------------------------------------------------------
*  The GetDt method is deprecated:

loDtObj = loEntry.GetDt()
IF (loEntry.LastMethodSuccess = 0) THEN
    ? loEntry.LastErrorText
    RELEASE loEntry
    CANCEL
ENDIF

*  ...
*  ...

RELEASE loDtObj

*  ------------------------------------------------------------------------
*  Do the equivalent using FileDateTimeStr.

loDt = CreateObject('Chilkat.CkDateTime')
loDt.SetFromRfc822(loEntry.FileDateTimeStr)

RELEASE loEntry
RELEASE loDt