Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 28687

convert epoch time to date in data tools report expression

$
0
0

I apologize as I'm just getting started with ssrs data tools. I'm trying to report on a successful query column in a report that contains date in epoch time. In the report section of ssdt, it looks like I should be able to create a new column and then put an expression in that column that will convert the epoch column contents to a more convenient format.

I see the available expression function "dateadd" and have looked at lots of examples, but when I try this, I get various errors.

=dateadd("s",1264769610,'1970-01-01 00:00:00') 

is one attempt, just using the value 1264769610 to test out a known number of seconds.

This gets the error

definition of the report is invalid. The value expression for the textrun "Textbox13.Paragraphs[0].TextRuns[0] contains an error: [BC30201] Expression expected.

Which makes me think what I've tried is not even recognized as an expression. 

Can someone help me get the wheels on the bus so I have a chance of getting this bus on the road?

Thanks!


Viewing all articles
Browse latest Browse all 28687