Forum Discussion
Converting SAP or Unix time stamp (with Micro-seconds)
- Anonymous5 years ago
So let's day your SAP/UNIX datetime column is named SAPTime. If your most recent step is "LastStep", then in the formula bar, you would type:
= Table.TransformColumns(LastStep, {{"SAPTime", each #datetime(1970,1,1,0,0,0) + #duration(0,0,0,[SAPTime])}})
This says take the duration of these seconds, and add that to 1/1/1970 for each value in the SAPTime column.
--Nate
- Anonymous5 years ago
You cannot have seconds in decimals in date time type, You can just split the microseconds to another column, then you are able to change the date column to date type.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
You cannot have seconds in decimals in date time type, You can just split the microseconds to another column, then you are able to change the date column to date type.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.