Forum Discussion
Anonymous
4 years agoNot applicable
Create function to convert Epoch date to DateTime format
Hi, I am using a Odata service which always display date and date time data in Epoch format like this (examples) For a Date field: /Date(-2208988800000)/ For a DateTime field /Date(1643042...
- 4 years ago
Overhead of a function is not needed in this case when you can do it with a formula
= #datetimezone(1970,1,1,0,0,0,0,0) + #duration(0,0,0,Number.From(Text.Start(Text.BetweenDelimiters([EpochDate],"(",")"),10)))
Vijay_A_Verma
4 years agoMost Valuable Professional
Overhead of a function is not needed in this case when you can do it with a formula
= #datetimezone(1970,1,1,0,0,0,0,0) + #duration(0,0,0,Number.From(Text.Start(Text.BetweenDelimiters([EpochDate],"(",")"),10)))- Anonymous4 years agoNot applicable
So easy! Thanks