Converts to Xojo DateTime
Note that the API1 version of the plugin has ToDate method which converts to Xojo Date instead of this method.
Xojo DateTime has some limitation where it cannot handle ancient dates. Like for example cannot handle Date before the year 1601 on Windows systems. In such cases this conversion method would return nil.