Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Reporting Services SQL Server Reporting Services. Please specify which version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Reporting Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 25th, 2006, 01:46 PM
Registered User
 
Join Date: Mar 2006
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Format Execution time

Hello,

How would you FORMAT the execution time



using the standard "Globals.ExecutionTime" I get it as 07/21/2006 9:40:15 AM.



I would like to format this to July 21, 2006



Thanks!



-Baaul
  #2 (permalink)  
Old July 25th, 2006, 02:06 PM
Registered User
 
Join Date: May 2006
Location: Erial, New Jersey, USA.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to JimReid
Default

:DLook in the properties for the formatting of the field. Very easy.
:)

  #3 (permalink)  
Old February 3rd, 2015, 04:18 PM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Cool

In addition to the answer this can be achieved by doing the following steps in the reporting database:
1.Go to the SQL server which is hosting your Reporting Services
2.Open the SQL Server Management studio and go to a database called "ReportServer"
3.Expand database "Reportserver"
4.Expand Tables
5.Open the table called "dbo.Subscriptions" in Edit Mode...You will see a column called "Locale"

For some reports which is showing "M/d/yyyy" format the locale will be set to value "en-US".
6.Change the value to "en-GB"

Now all your reports (including old ones) using @ExecutionTime will start showing date time in "en-GB" format i.e. "dd/MM/yyyy" format

That's it... Happy Reporting!!!


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time page execution mat41 Classic ASP Professional 0 August 15th, 2007 01:16 AM
optimise it or speed up execution time perl script crmpicco Perl 2 November 22nd, 2006 08:31 AM
script execution time madhukp Classic ASP Basics 2 February 2nd, 2005 04:51 AM
Run-time code execution module0000 Beginning VB 6 1 June 20th, 2003 04:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.