Sample code for 30+ languages & platforms
Visual Basic 6.0

Replace Deprecated GetExpirationDt

Shows how to replace the deprecated GetExpirationDt method.

Chilkat Visual Basic 6.0 Downloads

Visual Basic 6.0
Dim cache As New ChilkatCache

' ....
' ....

Dim cache_item_key As String
cache_item_key = "xyz"

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

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