© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
17 replies
SWEETPONY

❔ How to remove 00:00 in datetime?

I have following datetime:
"{Value:dd.MM.yy HH:mm}" 
"{Value:dd.MM.yy HH:mm}" 
which returns this:
01.01.2001 00:00
01.01.2001 00:00

is it possible to remove
00:00
00:00
?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

DateTimeOffset vs DateTime
C#CC# / help
3y ago
DateTime.UtcNow returns 0001-01-01T00:00:00
C#CC# / help
3y ago
DateTimeOffset, DateTime, unixtime, localtime, utctime
C#CC# / help
3y ago
EF Core 8 add 1900-01-01 00:00:00.000 to nullable Datetime column
C#CC# / help
3y ago