103 questions
0
votes
2
answers
118
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
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
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 ...
1
vote
0
answers
352
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
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
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,
...
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
0
answers
534
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
0
answers
345
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?
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: ...
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
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 ...
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
...
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
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 ...
2
votes
1
answer
350
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 ...
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
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 ...
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/...
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
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" ...
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",
...
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 ...
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-...
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,
...