VBScript
VBScript
Replace Deprecated GetExpirationDt
Shows how to replace the deprecated GetExpirationDt method.Chilkat VBScript Downloads
set cache = CreateObject("Chilkat.Cache")
' ....
' ....
cache_item_key = "xyz"
' Instead of this:
' dt1 is a Chilkat.CkDateTime
Set dt1 = cache.GetExpirationDt(cache_item_key)
' Do this:
set dt2 = CreateObject("Chilkat.CkDateTime")
success = dt2.SetFromRfc822(cache.GetExpirationStr(cache_item_key))