Xojo Plugin
Xojo Plugin
Replace Deprecated GetExpirationDt
Shows how to replace the deprecated GetExpirationDt method.Chilkat Xojo Plugin Downloads
Dim cache As New Chilkat.Cache
// ....
// ....
Dim cache_item_key As String
cache_item_key = "xyz"
// Instead of this:
Dim dt1 As Chilkat.CkDateTime
dt1 = cache.GetExpirationDt(cache_item_key)
// Do this:
Dim dt2 As New Chilkat.CkDateTime
Dim success As Boolean
success = dt2.SetFromRfc822(cache.GetExpirationStr(cache_item_key))