Forum Discussion
AHM
Helper I
6 years agoTime Stamp to Date
Good morning to all!!! A simple one, I´m receiving this time stamp and I need to change it to date: Time Stamp:1551876131000+0100 Human Date: 06/03/2019 9:07:00 I all ready have in on...
- 6 years ago
I think Ive got it. try a custom column (PPower Query Editor mode)
a) if you have a format time stamp like 1551876131000+0100
= #datetime(1970,1,1,0,0,0)+#duration(0,0,0,Number.RoundDown(Number.FromText(Text.BeforeDelimiter([Time Stamp],"+"))/1000))b. if you have a format time stamp like 1583766096983
= #datetime(1970,1,1,0,0,0)+#duration(0,0,0,Number.FromText([Time Stamp])/1000)
az38
Community Champion
6 years agoI think Ive got it. try a custom column (PPower Query Editor mode)
a) if you have a format time stamp like 1551876131000+0100
= #datetime(1970,1,1,0,0,0)+#duration(0,0,0,Number.RoundDown(Number.FromText(Text.BeforeDelimiter([Time Stamp],"+"))/1000))
b. if you have a format time stamp like 1583766096983
= #datetime(1970,1,1,0,0,0)+#duration(0,0,0,Number.FromText([Time Stamp])/1000)
AHM
Helper I
6 years agoWorked Perfectly!!!