Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Reporting Services Development
 ExecutionTime with only date

Author  Topic 

Ciupaz
Posting Yak Master

232 Posts

Posted - 2012-03-23 : 04:45:26
Hello all,
in my report I print the execution time in this way:

="Report Date: " & Globals!ExecutionTime

Is it possible to print only the date, without hour/minutes/seconds?

Thanks in advance.

Luigi

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2012-03-23 : 05:47:07
try like this
Format(Globals!ExecutionTime, "MM/dd/yyyy")

see here for the codes: http://thavash.wordpress.com/2007/10/02/date-formatting-in-reporting-services-list-of-format-codes/


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -