Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
RafaelKnuth
Advocate I
Advocate I

How do I convert time format from 12h am/pm to 24h in Power Query?

This is the current format:

 

Capture2.JPG

This is the format I need:

16:32:10

17:15:49

etc.

I need to do this in Power Query.

Any help appreciated. Thanks!

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi 

There is a simple way to do this.

You could convert time format in Modeling->Format.

 

4.png

 

Best Regards

Maggie

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi 

There is a simple way to do this.

You could convert time format in Modeling->Format.

 

4.png

 

Best Regards

Maggie

Anonymous
Not applicable

Maybe you are new to the forum but OP specifcally wrote "I need to do this in power query".

 

Your response was not complete to the fullest extent.

 

Q: What's the office telephone number? A: It's at 456 East Sycamore. [WRONG]

How to do it in edit query window?

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.