Hi there
I have a table in my report, where I have columns of the datatype Time(7).
Now I have problems formatting them correctly in Reporting Services 2008.
If I set the format of the expression to HH:mm it does still display 11:12:000 !
I want to get only the hours and minutes! like 11:12
It looks like RS does not knot the format. None of the following does work:
=Hour(Fields!MyTime.Value)
=CDate(Fields!MyTime.Value)
Both throw an error. I think it propably does format it as plain text?
Thanks for your assistance
Edit: I use MSSQLExpress 2008 R2 as the DataSource. (So I include the DataSource in the Report, because Reporting Services in SQLExpress do not allow to use shared DataSources.)
The Solution (Thanks Mark Bannister):
=Today() + Fields!MyTime.Value
Then you can use the common Formatting used for datetime values!