Articles in this section
Category / Section

How to Resolve Date Format Mismatch in SQL Server

Published:

Issue

An error occurs when using filters with DateTime data due to a date format or culture mismatch between the system and SQL Server.

Solution

  1. Verify that the system date settings and settings in SQL Server are the same.

  2. Check the date format in SQL Server using the following command:

DBCC useroptions;

image.png

image.png

  1. If the date format in SQL Server is dmy, change it to mdy using the command:
SET DATEFORMAT mdy;

image.png

image.png

  1. If the format existing is mdy, change it to dmy and check the dashboard.

References

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
RM
Written by Reethika Moovendhan
Updated
Comments (0)
Please  to leave a comment
Access denied
Access denied