How to retrieve dateTime values with XrmServiceToolkit.Soap functions

Jul 24, 2012 at 2:40 PM

Hello, We have problems when retrieving dateTime attibutes values with XrmServiceToolkit.Soap functions. We have NaN value, is it possible to change that.


Jul 24, 2012 at 3:58 PM


I found the solution of this issue. It was caused when deserializing :

if (entCV.type == "dateTime")
      entCV.value = new Date(attr.childNodes[k].childNodes[1].text);

It is not well supported on some browsers as described here


Jul 25, 2012 at 9:08 AM

Hey There.

There was a code change in version 1.3 which i noticed the issue. It should have been fixed recently.

I recommend you can have a look at the code in version 1.3 and give it a try.



Jul 25, 2012 at 10:34 AM

Hello Jaimie.

Thank you for your help and this usefull library.

I will move forward.