Link to home
Start Free TrialLog in
Avatar of VIVEKANANDHAN_PERIASAMY
VIVEKANANDHAN_PERIASAMY

asked on

Datetime format changed

When I login through windows authenication,it take language as US and when i login through SQL authenication it take as British.

And datetime format got changed.
I want make same for all.How to do it?

I checked by DBCC useroptions
Avatar of Jesus Rodriguez
Jesus Rodriguez
Flag of United States of America image

Is getting the culture language according the client when you login through windows and the server one when you login through the sql. on this post they tell that the best solution is check on the client side the culture and apply what you need (https://www.experts-exchange.com/questions/21110441/Culture-specific-date-formatting.html)

also check this
http://stackoverflow.com/questions/2432185/how-can-i-query-the-database-culture-sql-server-2005
Avatar of VIVEKANANDHAN_PERIASAMY
VIVEKANANDHAN_PERIASAMY

ASKER

1.How to make common language setting irrespective to the logins?

2.What determine this setting when i create the logins?

3.Through SQL logins it's british and through Window is US. How to make to it common around the logins?
ASKER CERTIFIED SOLUTION
Avatar of Jesus Rodriguez
Jesus Rodriguez
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Have you looked into datetimeoffset?  This gives you an "absolute" time as opposed to local/server time.  Please take a look at the following article.  It might prove to be useful.

http://blogs.msdn.com/b/bartd/archive/2009/03/31/the-death-of-datetime.aspx