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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
stribor45
Post Prodigy
Post Prodigy

Remove seconds from datetime

When I add a custom column I am able to get exactly what I want in my datetime (datetime without seconds) but as soon as I convert the type of custom column to datetime and end up again with seconds.  How do I get rid of ss in datetime?

 

Thanks

 

stribor45_0-1691894977263.png

stribor45_1-1691895012142.png

 

 

1 ACCEPTED SOLUTION

Hi @stribor45 

Try to follow this tutorial :
https://blog.enterprisedna.co/datetime-value-how-to-strip-off-seconds/

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

5 REPLIES 5
Ritaf1983
Super User
Super User

Hi @stribor45 
With/without seconds is the format, not "data type" .
You can modify it from the data view.
Choose one that you need from the list / you can also customize it manually

Ritaf1983_0-1691896945251.png

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

I want to remove the seconds within the power query editor not in the data view

Hi @stribor45 

Try to follow this tutorial :
https://blog.enterprisedna.co/datetime-value-how-to-strip-off-seconds/

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Ashish_Mathur
Super User
Super User

Hi,

If you want to get rid of the time stamp from the entries in the Date column, then just change the Data Type of that column to Date.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

I don't want to remove time from Date column. I want to keep it the same and just remove the seconds

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.