我能够使用Power Automate将我的excel文件中存在于OneDrive中的所有列移动到SharePoint列表中,除了excel文件中的日期和时间列。
Power Automate将日期和时间字段转换为十进制数。我必须使用什么公式才能将该数字再次转换为日期和时间?
发布于 2020-09-07 12:30:19
我在另一个论坛上找到了解决方案。下面的公式我们必须使用。
addseconds('1899-12-30',int(formatNumber(mul(float(item()?'Date'),86400),'0',‘en-in’),'yyyy-MM-dd HH:mm:ss')
在这个'Date‘中是excel列名,'en- in’可以根据您的时区进行更改。
https://stackoverflow.com/questions/63765786
复制相似问题