SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Date format in reports


Date format in reports

Author
Message
NicHopper
NicHopper
SSCertifiable
SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)

Group: General Forum Members
Points: 7807 Visits: 2191
Hi,
We have just done an upgrade of SSRS from 2012 to 2016 and now something odd is happening, some not all of our reporrr are now showing dates in a US format when previously they were in a UK format (as we wanted). It's obviously a default but I can't seem to find where, the machine is set to UK time and location.

Does anyone know where this value is or what I should check?

Thanks,

Nic

------------------------------------------------------------Check out my bloghttp://www.sqlservercentral.com/articles/Best+Practices/61537/
jonathan.crawford
jonathan.crawford
SSCarpal Tunnel
SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)

Group: General Forum Members
Points: 4386 Visits: 1309
I'd check the tea from the colonies

-------------------------------------------------------------------------------------------------------------------------------------
Please follow Best Practices For Posting On Forums to receive quicker and higher quality responses
NicHopper
NicHopper
SSCertifiable
SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)

Group: General Forum Members
Points: 7807 Visits: 2191
Oh, I got my hopes up and thought we had an answer then.

------------------------------------------------------------Check out my bloghttp://www.sqlservercentral.com/articles/Best+Practices/61537/
Jo Pattyn
Jo Pattyn
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27672 Visits: 10831
Regional settings of the reporting server?
You can alter the default language of a login with ALTER LOGIN
DinoRS
DinoRS
SSC Veteran
SSC Veteran (281 reputation)SSC Veteran (281 reputation)SSC Veteran (281 reputation)SSC Veteran (281 reputation)SSC Veteran (281 reputation)SSC Veteran (281 reputation)SSC Veteran (281 reputation)SSC Veteran (281 reputation)

Group: General Forum Members
Points: 281 Visits: 376
as Jo Pattyn suggested I would check the default language for the Login and if DB and SQL Server Collation match, too.
NicHopper
NicHopper
SSCertifiable
SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)SSCertifiable (7.8K reputation)

Group: General Forum Members
Points: 7807 Visits: 2191
Thanks for the replies
Which login do you mean to alter.

The one SQL server and ssrs run as on the report server?
Or the login that the reports data source uses? Or another?
If you mean the login the data source uses, well that login is on another server (where the data) is and has not been changed at all.

Thanks,

Nic

------------------------------------------------------------Check out my bloghttp://www.sqlservercentral.com/articles/Best+Practices/61537/
Jeffrey Williams 3188
Jeffrey Williams 3188
SSC Guru
SSC Guru (76K reputation)SSC Guru (76K reputation)SSC Guru (76K reputation)SSC Guru (76K reputation)SSC Guru (76K reputation)SSC Guru (76K reputation)SSC Guru (76K reputation)SSC Guru (76K reputation)

Group: General Forum Members
Points: 76638 Visits: 11037
NicHopper - Friday, September 14, 2018 7:28 AM
Thanks for the replies
Which login do you mean to alter.

The one SQL server and ssrs run as on the report server?
Or the login that the reports data source uses? Or another?
If you mean the login the data source uses, well that login is on another server (where the data) is and has not been changed at all.

Thanks,

Nic

If the fields in the report are defined with a date format - and that date format is set to use regional settings - then the client viewing the report will determine the format of the date field. To avoid this issue - I define the format of the date fields to display in YYYY-MM-DD format instead.

You should modify the fields in the report to use the appropriate format for display - if you want to insure the UK format of DD/MM/YYYY for all users then you would use a custom format and define that format as dd/MM/yyyy hh:mm:ss.

You can also define the regional settings of the report itself - and then choose one of the defined formats that are set to reflect the regional settings of the report. Any of the formats that begin with an '*' will reflect the regional settings of that report instead of the regional settings of the client.

Again - I would avoid the issue by using a standard format that is not subject to regional settings.


Jeffrey Williams
Problems are opportunities brilliantly disguised as insurmountable obstacles.

How to post questions to get better answers faster
Managing Transaction Logs

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search