Sample code for 30+ languages & platforms
VB.NET

Replace Deprecated GetExpirationDt

Shows how to replace the deprecated GetExpirationDt method.

Chilkat VB.NET Downloads

VB.NET
Dim cache As New Chilkat.Cache

' ....
' ....

Dim cache_item_key As String = "xyz"

' Instead of this:
Dim dt1 As Chilkat.CkDateTime = cache.GetExpirationDt(cache_item_key)


' Do this:
Dim dt2 As New Chilkat.CkDateTime
dt2.SetFromRfc822(cache.GetExpirationStr(cache_item_key))