login about faq

How can I load a Chilkat CkDateTime object from a C# System.DateTime object?

asked Sep 13 at 08:14

chilkat's gravatar image

chilkat ♦♦
11.8k316358421


DateTime dtCSharp = DateTime.Now;

Chilkat.CkDateTime dt = new Chilkat.CkDateTime();
bool bFromLocalTicks = true;
dt.SetFromDateTimeTicks(bFromLocalTicks,dtCSharp.Ticks);

bool bGetAsLocal = true;
MessageBox.Show(dt.GetAsRfc822(bGetAsLocal));
link

answered Sep 13 at 08:14

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×3
×1
×1

Asked: Sep 13 at 08:14

Seen: 106 times

Last updated: Sep 13 at 08:14

powered by OSQA