Sharepoint C# Data Transfer Date Issue

Occasional Visitor

I transfer data from one tenant list to another tenant list with c#. I'm passing the date columns into a string value.

 

Received data; 3/1/2023 18:00

String value; 3/1/2023 18:00

Value written to the new list; 1/3/2023 18:00

 

Date format in two lists: DD/MM/YYYY However, the places of the month and day change while writing data. What could be the reason for this?

 

Note: The two lists are the same in regional settings.

 

 

0 Replies