On a report parameter of data type DateTime, when I select a date using the date picker, it uses my local format (dd/mm/yyyy), but then I get an error that the value is not valid for the data type, but as soon as I enter a date in the US formt (mm/dd/yyyy), the report runs but the date gets displayed correctly in my local format. What is going on here?
Asked
Active
Viewed 1,334 times
1 Answers
0
An application ran by a different user account (eg networkservice localservice etc) may have different locality settings. This will effect how datetime objects are parsed to strings.
![](../../users/profiles/57818.webp)
Ablue
- 1,140
- 1
- 12
- 32