cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

convert time column of AM/PM to 24Hrs

hi

 

i have time of the day column as AM/PM format:

 

 

231.PNG

 

i would like to have M Code to conver it to  24Hrs  format

for example : 3:26:00 PM >>>>15:26:00

 

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

This is a regional setting, not a format type 
image.png

If you don't wont to change your local settings then you can easily adjust it in when you load the model.

 

image.png

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

View solution in original post

1 REPLY 1
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

This is a regional setting, not a format type 
image.png

If you don't wont to change your local settings then you can easily adjust it in when you load the model.

 

image.png

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors