#### Category : datepicker

I found this Datepicker online to use for a project, but every time I use it in an input form, it pushes the correct day and year selected however pushes the previous month instead of the one selected. I have viewed the code, but I can’t find where the error is or why it is ..

I want to save date in database. I’m using Persian_date_picker package for choosing date and also using Jalali calendar for converting to gregorian date. But I got the error: Undefned index year Code: pdate = "۱۴۰۰/۰۳/۲۹"; MorilogJalaliJalalian::fromFormat(‘Y/m/d’, $pdate)->toCarbon(); Sourc.. Read more I want to save date in database. I’m using Persian_datepicker package for choosing date and also using Jalali calendar for converting to gregorian date. But I got the error: Error: Undefned index year Code: pdate = "۱۴۰۰/۰۳/۲۹"; MorilogJalaliJalalian::fromFormat(‘Y/m/d’,$pdate)->toCarbon(); Sourc..

I am learning Livewire and I want to use datepicker in my form. I found one helpful component from tailwindcomponents.com but not able to understand how to convert it into a livewire reusable component. tailwindcomponents: https://tailwindcomponents.com/component/datepicker-with-tailwindcss-and-alpinejs I have created a blade file in the view directory but not able to understand how HTML and JS ..

I recently updated a Laravel site from version 5.3 to 8.38.0, also updating PHP from 5.6 to 8.0.3. I did this gradiently, handling any breaking changes as I went. The upgraded site works great, looks just like the original, with one exception – the date-picker doesn’t display. When I check the Elements tab in chrome ..

I have a form implemented with vue2 and it has date fields where I’m using datepicker plugin. But problem is, when I go to the next input, the value of the date field(s) becomes empty. I have tried many ways and looked for many questions and none helped. see this Short Video for better understaning ..

I try to highlight an array of dates, that are saved in the DB, by changing their class. For this goal I use beforeShowDay function, and I’ve tried literally every solution on Stack Overflow. Even some of them looked very logical, everytime something get wrong. I use Laravel and jQuery to accomplish the goal. I ..

Hello! I am working on Laravel project I have a form for invoices which include two date fields along with other fields. The two dates are named start_date and end_date. I want to select the end date based on start date which date should be the next month just one day before. For example .. ..

I have a form to select a date, start time and end time using datepicker. I do not understand how I can make migrations in order to write it correctly to the database and then, if necessary, calculate the time difference. I understand that the date should be written as a timestamp? And what about ..

i am getting the date in blade form from controller in format like 2020-11-24(y-m-d) and i want to use this in input field value property <div class="row"> <div class="col-md-4"> <label>Surf Date <span class="required">*</span></label> </div> <div class="col-md-8"> <div class="selectWrap pos-rel"> <input class="form-control" type="date" name="surf_date" id="datepicker" value="{{ old(‘surf_date’),\$posts->surf_start_date }}" required /> </div> </div> </div> but it does ..