SSRS TimeString Function

The SSRS TimeString function is a Date and Time function that returns the string representation of the current local time of the day according to the system. The syntax of the TimeString function to print the current time as the string data type is as shown below.

=TimeString()

To demonstrate the SSRS TimeString function, we use the Employee table below, which has 15 records. The image shows the records in the Table report.

Source Table

SSRS TimeString function Example

For this, let me add a new column to the right side of the Hire Date column and name it TimeString. Next, right-click the textbox under TimeString and choose Expression. To understand the report, I suggest you refer to the articles on charts, tables, grouping, and format tables in SSRS.

Choose the expression option

It opens the following expression window to print the present time. The below TimeString function prints the current local time of the day as per the system in a string format.

=TimeString()
SSRS TimeString Function expression to print current local time of the day

Please click the preview tab to see the report. For more functions >> Click Here!

SSRS TimeString Function to print current local time of the day as per the system