Hi @john john ,
The operation has not been submitted, thus it will output the blank date. Please add following snnipet to your code:
var spTimeZone = context.Web.RegionalSettings.TimeZone;
ClientResult<DateTime> cr = spTimeZone.UTCToLocalTime({your date});
context.ExecuteQuery();
Console.WriteLine(cr.Value);
Best Regards,
Baker Kong
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.