Question

I'm using Report Builder 2.0 to construct a report that contains datetime data stored in the database as UTC time. Is there a way to convert the UTC time to local time of the computer viewing the report?

Thanks.

Was it helpful?

Solution

I seem to have stumbled upon the answer to my question. The Data Source View lets you specify whether a column holds local time or UTC time under the "DateTimeMode" property.

OTHER TIPS

Be carefull using DateTimeConversion. Reports are shown by Client and computer by your Report Server. The dates used by ToLocalTime Method and DateTimeMode are converted to Your Report Server local time which could be different from the browsing client computer.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top