Sample code for 30+ languages & platforms
Xojo Plugin

Transition from Email.GetDt to Email.EmailDateStr

Provides instructions for replacing deprecated GetDt method calls with EmailDateStr.

Chilkat Xojo Plugin Downloads

Xojo Plugin
Dim email As New Chilkat.Email

// ...
// ...

// ------------------------------------------------------------------------
// The GetDt method is deprecated:

Dim dateTimeObj As Chilkat.CkDateTime
dateTimeObj = email.GetDt()
If (email.LastMethodSuccess = False) Then
    System.DebugLog(email.LastErrorText)
    Return
End If

// ...
// ...

// ------------------------------------------------------------------------
// Do the equivalent using EmailDateStr.

Dim dt As New Chilkat.CkDateTime
Dim success As Boolean
success = dt.SetFromRfc822(email.EmailDateStr)