Groups | Blog | Home
all groups > sql server reporting services > july 2006 >

sql server reporting services : Integer to HH:MM:SS


lucotc
7/2/2006 7:45:01 PM
Hi,
In SRS 2K, how can I take a field that is listed as an integer (say 60),
and make it look like 01:00:00 in the report? Is there a way to do this in
the Textbox Properties window using the Custom Format section?


lucotc
7/3/2006 5:15:02 AM
Found my answer in another thread:
=String.Format("{0:HH:mm:ss}",CDate("0:0:0").AddSeconds(Fields!*Value))

[quoted text, click to view]
AddThis Social Bookmark Button