Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > Reporting Services
Password Reminder
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #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


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


Reply With Quote
  #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

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

Reply With Quote
  #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

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!!!
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 06:01 PM.

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