c# CRM Time issue RRS feed

  • General discussion

  • Hi ,

    can anybody suggest me how to resolve Hours difference issue in crm c# .

    I have Date Time field  (start date and end date ) in a entity . Using plugin i am retrieve the attribute. when i check the time i could find there is time difference

    Eg :

    In crm i have given Start Date =  Start Date =10-10-2014  1:00PM, and End Date = 10-10-2014  5:00PM

    But in Plugin while retrieving the record i found  Start Date =10-10-2014  7:30 AM and End Date = 10-10-2014  11:30PM

    I have checked my personal settings. 

    By adding hours we can get the actual date given in crm . but that’s not the best practice,.

    If providing Sample code really helpful .

    Plz guide me to overcome this issue.

    Screen short 

    --->  Personal Settings 


    Thursday, October 9, 2014 7:49 AM

All replies