We are adding item in list with Jsom and SSOM. Following is the scenario
- when item is added through SSOM , we have a date field in which date is proper. Once item is added , we have an event receiver written for applying few validation, (Adding) is the method . Date is shown properly.
- When item is added through JSOM, we have a date field in which date is proper. Once item is added , we have an event receiver written for applying few validation, (Adding) is the method . Date is not shown properly it showing -5 hours in event reciever
While the date is store properly in the list , but the validation written in event reciever fails because of the time difference. Kindly let me know any pointer to solve it