I know that this theme was presented at forum, but I can't find answer for it.

I'm setting a task start date using CSOM, and do it using a UK format (DD-MM-YYYY), but Project Server reads it as if it was in USA format (MM-DD-YYYY). enter image description here

The value gets set correctly in my code, but then Project Server treats it as if it were in USA format. [![enter image description here][2]][2]

I wrote 05/12/2017, the date that appears on the schedule is 12/05/2017. You might think that it's just a viewing format, but other date time project fields are treated correct. This problem is reproduced only for task start and finish dates

enter image description here

What's going on here? Is there a setting in Project/SharePoint that defines how it treats dates after being read from CSOM?

This action is reproduced only for start and finish date, but others project fields with date time type are treated the data correct.

1 Answer 1


1) Go to Site Settings > Regional settings

Url would be https://sitecollectionurl/_layouts/15/regionalsetng.aspx

2) Here change to local from English (United States) to English (UK).

enter image description here

3) Click OK. If you want all subsites to have the same locale, check the checkbox as below and then click OK.

enter image description here

4) Now check the date format in your list,it should be in dd-mm-yyyy format as in below screengrab.

enter image description here

  • Thanks, but I have one more question. Why this feature affects only for start and finish date of tasks, but not reproduced in others fields of tasks with date time type?
    – antinzh
    Commented Jan 23, 2017 at 14:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.