Skip to content

How do you remove seconds from DateTime? #3258

Answered by David-Moreira
sturlath asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@stsrki
Comment options

@sturlath
Comment options

@stsrki
Comment options

@sturlath
Comment options

@David-Moreira
Comment options

Answer selected by sturlath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants