tag:blogger.com,1999:blog-14479009.post2802549058578676272..comments2023-11-24T12:30:17.358+01:00Comments on Ronald Lemmen - CRM, C# and Cme: CrmDateTime conversion to DateTimeRonald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-14479009.post-71301919516726746162008-04-10T07:32:00.000+02:002008-04-10T07:32:00.000+02:00ping back from http://www.castorsoft.com/articles/...ping back from http://www.castorsoft.com/articles/2008.2.11.htmAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-14479009.post-16382668717434821102008-02-12T00:11:00.000+01:002008-02-12T00:11:00.000+01:00Hello RonaldI need your advise, how can I compare ...Hello Ronald<BR/><BR/>I need your advise, how can I compare the dates in order to know the difference between them. e.g. difference between 1 january 2005<BR/> and 10 July 2005. Presently i am using this code in Javascript:<BR/><BR/>endDate = crmForm.all.new_contractend.DataValue.getMonth();<BR/>startDate = crmForm.all.new_contractstart.DataValue.getMonth();<BR/>alert(endDate - startDate);<BR/><Anonymousnoreply@blogger.com