Hi All,
I am setting date after substracting business days. the date in the Code is fine in the custom work flow activity but the record getting created with the workflow is showing time in UI quite ahead. How to fix this?
I have got a solution - but not feeling confident about it.
Solution is, When passing date to function pass as date.ToLocationTime() - because this date is comeing in UTC form from CRM DB. and when passing back to OurArgument convert it back to date.ToUniverselTime().
Please share the thougths.
I think if the user in different time zone but server is in different, this can cause bug?
Regards,
Hassan