AutoIt
AutoIt
Transition from Cert.GetValidFromDt to Cert.ValidFromStr
Provides instructions for replacing deprecated GetValidFromDt method calls with ValidFromStr.Chilkat AutoIt Downloads
$oCert = ObjCreate("Chilkat.Cert")
; ------------------------------------------------------------------------
; The GetValidFromDt method is deprecated:
Local $oCkdt1 = $oCert.GetValidFromDt()
If ($oCert.LastMethodSuccess = False) Then
ConsoleWrite($oCert.LastErrorText & @CRLF)
Exit
EndIf
; ...
; ...
; ------------------------------------------------------------------------
; Do the equivalent using the ValidFromStr property
$oCkdt2 = ObjCreate("Chilkat.CkDateTime")
$oCkdt2.SetFromRfc822($oCert.ValidFromStr)