Topic: Datepicker init Date without Time

infothemisoft-com premium asked 1 year ago

Hello, i use the Datepicker Control. I init it with an DateTime Variable using MVC. The Problem is, with the first init they show me also a Time. After i select a Date its fine and its only the Date format (as i set it in the Format Property). Maybe you can Help me, what i need to to, that the Time is not showing from beginning.

<div class="form-outline datepicker-translated-vertragsbeginn" data-mdb-format="">
                                        @Html.TextBoxFor(m => m.DTO.v_beginn, new { @class = "form-control", @id = "VertragsbeginnDatePicker", @placeholder = "" })
                                        <label for="VertragsbeginnDatePicker" class="form-label">@Model.Konfig.Uebersetze("Vertragsbeginn", Session["language"])</label>

see the first is after select another date, the second is after init

Mateusz Lazaru staff answered 1 year ago


Unfortunately we do not guarantee that our package will work in a third party environment and we do not support such use.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 4.4.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No