Ability to just print Current Date or Time
Data Dynamics Reports Support
Ability to just print Current Date or Time
04-30-2009, 2:15 PM
Under the Common Values, there is Current Date and Time. Can I just print one or the other? That is, just the date on the left side of the footer and the time on the right, for example.
Re: Ability to just print Current Date or Time
05-01-2009, 1:26 AM
Once you have selected the Current Date and Time expression for the TextBox (Globals!ExecutionTime or shorthand [&ExecutionTime]), use the Format property to adjust the output format of this DateTime value.
For example, to only display the date, set the Format property to "d" without quotation marks (or use the dropdown to select the desired date or time format). For the time, the format code is "t", without quotation marks.
-Jon
Re: Ability to just print Current Date or Time
03-10-2010, 7:02 AM
What is the data dynamic equivalent for the following microsoft report viewer code?:
="Report run on " & globals.executiontime.tostring("f")
The work around I have is to split this textBox code into two separate textBoxes - using the "format" property of the textbox to format the execution time (this is not good as the spacing between the text string and date is not consistent).
Thanks.
Re: Ability to just print Current Date or Time
03-11-2010, 10:55 AM
Found it..
="Report run on " & Format(Globals.ExecutionTime, "f")