How do you remove seconds from DateTime? #3258
-
I have no need to display the seconds for DateTime . I need the minutes but would love to be able to hide the seconds. Isn't that possible somehow? |
Beta Was this translation helpful? Give feedback.
Answered by
David-Moreira
Dec 26, 2021
Replies: 1 comment 6 replies
-
This might be what you're looking for, let us know if it helps! |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
sturlath
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DateEdit
uses native html input for date, which means it can have some limitations.That means a custom implementation is required for more control. We do have a date component that implements https://flatpickr.js.org/
which has more features.
This might be what you're looking for, let us know if it helps!
<DatePicker TValue="DateTime" InputMode="DateInputMode.DateTime" TimeAs24hr></DatePicker>
https://preview.blazorise.com/docs/components/date-picker