Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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 one column this part: #datetime(1970,1,1,0,0,0) but I´m not sure how to move forward
Solved! Go to Solution.
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)
Hi
I´m not sure what you mean by Start point, I got this result from an API: /Date(1551876131000+0100)/ and by using split column i got: 1551876131000+0100
In the API document I was able to find this lines that may help to answer the question:
JSON
"DateAndTime":"\/Date(1583766096983)\/
XML
<DateAndTime>2020-03-09T15:01:36.983976Z</DateAndTime>
I this helpfull?
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)
Worked Perfectly!!!
OK, unless I am mistaken, that is a Unix timestamp in milliseconds. This means that the start point is January 1st, 1970. You could use the quick measures I posted, just have to divide the value by 1000 first.
What sort of timestamp is that, unix?
Perhaps this: https://community.powerbi.com/t5/Quick-Measures-Gallery/Unix2UTC-and-UTC2Unix/m-p/620012#M292
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
85 | |
65 | |
51 | |
45 |
User | Count |
---|---|
217 | |
88 | |
81 | |
65 | |
56 |