Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, in my file, there's a DateTime column with UTC MilliSeconds & I would like to convert it into DateTime format only without the UTC MilliSeconds either using SQL or Power Query.
Please help.
"2024-10-17T07:19:28.9700000" to "17/10/2024 07:19:28 AM"
Thank you.
Regards,
Tan LC
Solved! Go to Solution.
Hi @TanLC
use the below formula
= DateTime.ToText(DateTime.FromText(Text.Start("2024-10-17T07:19:28.9700000", 23)),"dd/MM/yyyy hh:mm:ss tt")
Hi @TanLC ,
Did you find a solution? Did the answers help? If so, mark the reply as a solution, which will help the next user with a similar problem, thank you~!
Best Regards,
Gao
Community Support Team
= DateTime.ToText(DateTime.FromText("2024-10-17T07:19:28.9700000"), [Format = "MM/dd/yyyy hh:mm:ss tt", Culture = "en-US"])
Hi @TanLC
use the below formula
= DateTime.ToText(DateTime.FromText(Text.Start("2024-10-17T07:19:28.9700000", 23)),"dd/MM/yyyy hh:mm:ss tt")
Check out the July 2025 Power BI update to learn about new features.