Display the Current Date and Time in a Report

<< Click to Display Table of Contents >>

RayVentory Data Hub > 12.5 u5 > Dashboards and Reports Customization Guide > Designing Reports > Add Extra Information 

Display the Current Date and Time in a Report

This tutorial demonstrates how to insert the current system date and time into a report using the PageInfo control.

 

eurd-web-insert-datetime-result

 

Do the following to include information about the current date and time into a report:

 

1.Typically, the current date and time are displayed within the Report Header band. To add it to the report, click Insert Report Header Band in the Actions category.
 
eurd-web-insert-datetime-add-reportheader-band
 

2.Drop the PageInfo control from the Toolbox onto the Report Header band.
 
eurd-web-insert-date-time-add-pageinfo
 

3.Set the control's Page Information property to Current Date and Time.
 
eurd-web-insert-datetime-set-pageinfo
 

4.To apply a format string to the control's contents, type Created at {0:h:mm tt dd MMMM yyyy} into its Text Format String property.
 
eurd-web-insert-datetime-set-formatstring