login about faq


I am still having problems on compiling code on RPi3 w/ Rasbian on mono, the code that compiles ok on windows:

CkDateTime ckDt = new CkDateTime();
var netDt = ckDt.GetAsDateTime(true);   // error msg points here

The error msgs look like this:

error CS1061: Type `Chilkat.CkDateTime' does not contain a definition for `GetAsDateTime' and no extension method `GetAsDateTime' of type `Chilkat.CkDateTime' could be found. Are you missing an assembly reference?

It seems that CkDateTime class has something missing on arm mono lib? I get similar errors on all CkDateTime methods...and I did try the latest arm mono lib you sent me. Any glue on what is going wrong?

Everything else in chilkat (like ssh, sftp, ftp, crypto, etc) are compiling properly.

Thanks, Matt

asked Aug 24 '16 at 06:02

Mlin's gravatar image


I now understand (remember) that any methods or properties using System.DateTime can't be in the Mono API.

But that's OK because all possible methods/properties that would use System.DateTime have an equivalent method using CkDateTime, and you can get a System.DateTime from a CkDateTime like this:

            Chilkat.CkDateTime ckdt = new Chilkat.CkDateTime();


        bool bLocalTime = true;
        DateTime myDate = new DateTime(ckdt.GetAsDateTimeTicks(bLocalTime));


answered Sep 08 '16 at 08:01

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 24 '16 at 06:02

Seen: 776 times

Last updated: Sep 08 '16 at 08:01

powered by OSQA