Can you share a code snippet? Are you using mono_object_to_string to retrieve 
the string value for display?

On Jul 25, 2013, at 6:00 AM, "[email protected]" 
<[email protected]> wrote:

> Hi
> 
> I am trying to get and set a System.DateTime property via the embedded API.
> 
> I can retrieve a default DateTime from my cs model via the embedded API 
> however I am having trouble with the setter.
> I create a System.Data instance using the runtime API by calling the ticks 
> constructor DateTime(long).
> If I query the constructed C object's Ticks property it looks okay.
> The setter invocation completes without issue.
> 
> However, when I requery the date property it always returns a value close to 
> the reference date.
> 
> $1 = 0x0015f0b0 0001-01-01 00:00:03 +0000
> 
> I am missing something with regard to the nature of DateTime?
> 
> I am able to set other non DateTime properties without trouble.
> 
> Thanks
> 
> Jonathan
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to