I have a table that contains data imported in the epoch date format (exported from Influx , now stored as varchar(50)). I need to convert this to human readable datetime.
I have tried
SELECT [DATE],DATEADD(S, CONVERT(BIGINT, SUBSTRING([DATE], 4,10)), '19700101')
FROM [DIM_GO_GOROUTINES]
But that returns
Whereas I know the date should be Monday 15th Feb !