103 questions
0
votes
2
answers
119
views
How to set datetime format in jquery datetimepicker?
I need to set a datetimepicker in the specific format dd/mm/yyyy hh:mm tt for example 13/03/2024 2.30 PM. But, I am getting 13/03/2024 14.30. I also can not set the minutes. It only shows the hours ...
0
votes
0
answers
116
views
Date time format using jQuery
I have a code that is used in .NET Core MVC and its like
<div class="col-xs-6 col-sm-6 col-md-6 mt-15">
<label>Start Date</label>
<div class="form-group"&...
0
votes
1
answer
1k
views
jquery dateTimePicker set language
Probably I understand the documentation completely wrong. I am trying to set the datetimepicker to german. As written in the official docs I simply added the terms for months, dayOfWeekShort and ...
0
votes
1
answer
275
views
Set time picker to current time after opening XDSoft jQuery DateTimePicker
Any idea how to automatically set the time picker to the current time after opening it?
$('#StartDate').datetimepicker({
value: new Date(),
step: 15,
closeOnDateSelect: true,
format: 'm/d/...
0
votes
1
answer
416
views
Change returned value from jquery datetimepicker
I am using jQuery datetimepicker where I am formatting date like DD/MM/YYYY, everything is okay with displayed date, but when I sent it on post I want date to be sent as 2022-07-22, when I use HTML5 ...
0
votes
1
answer
1k
views
datepicker not binding the value to the angular form control
I am using jquery-datetimepicker within the angular projects. But when I select the date in the date picker the value is not bound to the form control.
I tried so far.
app.component.ts
import { ...
1
vote
0
answers
355
views
XDSoft Datetimepicker Decrements Time 1 Hour After Input Field Loses Focus
I am using the XDSoft Datetimepicker. I can choose a datetime, but when I click out of the input field, the hour of the time decrements by one hour. Here is an example:
This is when I pick a datetime (...
0
votes
0
answers
649
views
Set hour and minute on day select using jquery datetimepicker plugin
I'm trying to set time using variables using jquery datetimepicker. So the problem is the following: in my logic i've datetimepicker that can select date and time. When the user click on form field ...
0
votes
0
answers
25
views
Need to have 2-3 instances of jquery datetimepicker with different languages
Background: I'm trying to have 2-3 tabs which the user can select from (in an HTML page). The first tab is based on the sniffed language of the browser, and the user will have the possibility to also ...
0
votes
0
answers
259
views
jQuery date time picker not working while changing the timer
datetimepicker is not working
I have a website where if the user clicks the button, then the timer which displays in the UI will get changed by 20 minutes,
but when I do that it is not working.
Here ...
0
votes
1
answer
320
views
How to pass the parameter to datetime picker function
As i had a datetimepicker function, and i need to iterate through an array which contains dates and then i need to add those dates with additional 15 minutes or 20 minutes based on some conditions,
...
0
votes
1
answer
40
views
Jquery Datepicker not rhiding past dates
Am using Jquery Datepicker for my project . If i want to change date format my code will be
$( "#datepicker1" ).datepicker({
dateFormat: "dd-mm-yy"
});
Its not working . But if ...
2
votes
1
answer
5k
views
Bootstrap Daterange Picker - Clear Selection after click apply button
I am using http://www.daterangepicker.com/#usage package and currently facing some difficulties in clearing the selection.
Based on the documentation, there is a clear option but it doesn't work/...
0
votes
1
answer
73
views
JQuery datepicker not changing language, only loads the last imported language
Hi i followed the datepicker process in order to change the language via the sample: https://jqueryui.com/datepicker/#localization
The problem is that the event is not working, the files are loaded. ...
0
votes
0
answers
537
views
JQuery DateTimepicker allow user text input
How do I use a jQuery Datetimepicker with a user textbox input?
$(document).on('click', '#txtUserDateTime', function (evt) {
$('#txtUserDateTime').datetimepicker({
...
0
votes
2
answers
2k
views
Datetime filter for AG-Grid - Clear input text on button click
Based on this proposed solution in the AG-Grid Github issues, I am trying to implement a jQuery DateTime Picker as a filter in my React/AG_Grid project.
I currently have my table set up so that I can ...
0
votes
0
answers
349
views
The date selected with datepicker takes the value of the previous day
When I select the date 16-01-2021, this value comes to my input field. But when I look at the value received by the service, I get the value "{15.01.2021 21:00:00}". how can i fix this?
2
votes
1
answer
2k
views
How can I add jQuery DateTimePicker to my project in visual studio
I have a requirement where I need the following control in my project. I am using MVC application in this project.
https://github.com/xdan/datetimepicker
But, I am totally unsure how I can use this ...
0
votes
0
answers
201
views
Set minimum and Maximum in hour timepicker jquery
the image below example of time picker and the minimum of hours is 00 and maximum is 23 .
example of minimum hour which is 00
Here is my code
$('.bootstrap-timepicker').datetimepicker({
pickDate: ...
0
votes
1
answer
86
views
How to convert "2020-10-08 09:38:08" into March, 2020 format using jquery
$.datepicker.formatDate('M dd', date)
I have tried this but its giving me error
jquery-ui.js:8924 Uncaught TypeError: date.getDate is not a function
1
vote
1
answer
137
views
How to show icon with jquery calender control?
I am using jqueryDateTimePicker, jquery.datetimepicker.full.js, I want to show calender icon with input control, but icon is not showing, any help?
I am using following datetime control
http://www....
0
votes
1
answer
47
views
Second Bootstrap Datepicker Doesn't Autoclose After Modifying Via onChange in First Datepicker
I have 2 datepickers - startDate and endDate. endDate works great on its own until it is modified using the on('changeDate') of startDate. When endDate is modified using startDate, it doesn't ...
0
votes
0
answers
184
views
Display jQuery timepicker dynamically by looping and value is overwrite all picker
I have problem with the indexing of the jQuery timepicker. I display the timepicker with the loop and I want to display timepicker dynamically, but when I select one picker all the rest follow.
It ...
2
votes
0
answers
681
views
Parsing datepicker values to perform a query to a mysql in Flask
I working with a dashboard project, it has a dashboard and it does build a query based on the days selected from the day picker, currently I was able to implement the date picker with Flask DateField ...
0
votes
1
answer
464
views
How to store Date Time Picker Entries in observable array?
I am sharing a link of what I want to do (the last one in the link i.e, date time)
https://rsuite.github.io/multi-date-picker/
After doing this I want to store these entries inside observable array
...
0
votes
1
answer
723
views
sharepoint 2013 list datetime picker select year
I want to add year option in sharepoint list datepicker column, since it does not allow to pick year except to swap 12 months back can someone suggest somthing?
2
votes
1
answer
5k
views
set date and time in jquery datetimepicker based on another datetimepicker
It works properly until any postback of control fired but when any postback event of control fire and then if we change "from date" than in "to date" datetimepicker it only shows date instead of date&...
1
vote
1
answer
69
views
jquery tablesorter + Jquery timepicker + Ajax call giving me duplicate entries in a <table>
Replicated here https://jsfiddle.net/a1fogpbm/
I'm producing data at work and trying to have the tables update every time you change the time. As soon as I added the datetimepicker, I get duplicates ...
1
vote
1
answer
2k
views
Jquery UI DateTimePicker add 3 days to current date and disable the future dates in datePickerStart and datePickerEnd date with dp.change method
So, After searching a lot on stack overflow, I have not found any better solution for my code below. My actual question is, I have datetimepicker, and I want to add 3 days to the datePickerStart and ...
0
votes
1
answer
1k
views
Jquery UI Datepicker Timepicker sliders not working when dragging
I am using a Jquery UI Datepicker with Timepicker addon to select a date with custom time. When trying to drag the slider and change the time, it will display this error:
jquery-ui.min.js:23 Uncaught ...
2
votes
1
answer
355
views
How to check if a disabled date is in the selected range
I want to check if there a disabled date inside a selected date range
I can disable specific date, there can me multiple dates.
But don't have any idea how to restrict user from selecting a range ...
-1
votes
1
answer
860
views
jquery-simple-datetimepicker change time interval based on current time and date
I am using (jquery-simple-datetimepicker) for a small restaurant application. the restaurant timing is from 6 am to 12 am. My issue is the time interval starts from 00:00 to 23:30 in the dropdown but, ...
6
votes
1
answer
8k
views
JQuery XDSoft datetimepicker plugin deafultTime option doesn't work properly
I'm trying to use the https://xdsoft.net/jqplugins/datetimepicker/
This is the code:
var date_time_picker = $('#datetimepicker').datetimepicker({
formatDate: 'd.m.Y',
formatTime: 'H:i',
...
0
votes
1
answer
175
views
My timepicker addon uses the wrong timezone
I have added a timepicker to my datepicker. Everything works, but when I posts, the time will degrees by 2 hours (I think it somthing in moment js).
Does someone know this problem and know how to ...
0
votes
1
answer
642
views
TimePicker - Set the minTime greater than the selected start-time
I have a star-time and end-time option which is working well.
start-time [8:00am, 8:30am, 9:00am, 9:30am, 10:00am]
end-time [8:00am, 8:30am, 9:00am, 9:30am, 10:00am]
If the user start-time selection ...
0
votes
2
answers
2k
views
How to enable specific days for all month in datepicker
How to show only specific days for all months and year in a jquery datepicker.
I want to enable only 2 and 16 days for all months. no restriction for year and months.
If it is possible give me ...
3
votes
2
answers
4k
views
How to show tooltip on disabled dates of jquery datepicker
I am trying to add tooltip on some disabled dates as holiday reason but unable get them displayed when hovered. i have even tried adding custom hover function but no success.
availableDates = ["09/...
11
votes
2
answers
3k
views
i have error with jquery datetime picker that change the time when i focus out the controll
i am using jquery datetime picker
my problem is when i select the time and use tab button it will change to minus 1 hours
means if i select 9.30 am and click on tab button it will be 8.30 am and it ...
0
votes
1
answer
64
views
How to access variable in an ajax function for timepicker jquery ruby on rails
I'm making a scheduling tool using the jquery-timepicker. I have a @tour that has a start_date and an end_date, that I've passed in through the controller.
In the timepicker, I'd like to limit the ...
1
vote
1
answer
2k
views
jquery datetime picker null allowed time
I have application which has time gets bind dynamically where scenario may allowed time can be null,
In Jquery datetimepicker setting allowed time null set as example shown here which supposed to be ...
-1
votes
1
answer
134
views
$("#txtStartDate").datepicker({}) is not working for me
<div class="datePickerContainer">
<input class="form-control datepicker bg-color-white" placeholder="MM/DD/YYYY" maxlength="15" ng-model="PriceLineObj.StartDate" ...
-1
votes
1
answer
518
views
Date Issue ,Working Fine in Local,but in Server it takes date min value (mvc C#)
The C# Code I have used,
DateTime _dtFYS = new DateTime(_lab.fys.Year, _lab.fys.Month, _lab.fys.Day, 0, 0, 1);
DateTime _dtFYE = new DateTime(_lab.fye.Year, _lab.fye.Month, _lab.fye.Day, 23, 59, 59);
...
0
votes
1
answer
233
views
How to set server machine date as current date in jquery datepicker
Here's my code and its result:
$(function () {
$('.temp').datepicker({
showWeek: true,
dateFormat: "dd/mm/yy",
defaultDate: "27/03/2018",
...
3
votes
2
answers
8k
views
jquery.datetimepicker set time only
I used https://github.com/xdan/datetimepicker.
I want to show and enter only time.
My code is:
$('#dttf').datetimepicker({
datepicker:false,
step:15,
format: 'H:m'});
It is showed only ...
2
votes
1
answer
1k
views
jQuery clockInput: Disable Clock Time Picker
I am using jQuery clockInput: Clock Time Picker what i want that in some cases i do not need to set time, so in that case i want to disable time selection and set by default time which i set.
Here ...
7
votes
2
answers
9k
views
How to set default date to Persian date in PHP?
How to set default date to Persian date in PHP?
Say, if I echo this function date('Y-m-d') then it will show 2018-03-05 but I want 1396-12-14 the Persian date
1
vote
1
answer
2k
views
datetimepicker.js error when loaded in div which is not in the DOM initially
I am creating a form and using datetimepicker.js in that. My form elements are initially hidden and when I load them in DOM for first time, Datetimepicker is working properly but from second time on-...
2
votes
1
answer
1k
views
How to exclude weekends(i.e Sat and Sunday) in Date Range Picker
I am using daterangepicker for selecting dates for scheduling a calendar for employees. Now as office is 5days working, So we need to exclude weekends i.e saturday and sunday from selective dates.
...
0
votes
2
answers
2k
views
Set limit to next 365 days in datetimepicker in jquery [duplicate]
I want my datetimepicker dialog box to set limit to next 365 days(1 year). How can I get this using Jquery. here is my code.
$('.dt-expiry-date-time').datetimepicker({
dayOfWeekStart: 1,
...
0
votes
1
answer
2k
views
mvc datetime picker setting value from jquery does not bind to model
I have date-time picker that is bound to a datetime property on my view-model.
when I select the date from date-time picker and I post back, it binds the value to the model, but when I try to set the ...