Lianja
Lianja
Replace Deprecated GetExpirationDt
Shows how to replace the deprecated GetExpirationDt method.Chilkat Lianja Downloads
loCache = createobject("CkCache")
// ....
// ....
lcCache_item_key = "xyz"
// Instead of this:
loDt1 = loCache.GetExpirationDt(lcCache_item_key)
release loDt1
// Do this:
loDt2 = createobject("CkDateTime")
loDt2.SetFromRfc822(loCache.GetExpirationStr(lcCache_item_key))
release loCache
release loDt2