Questions tagged [jquerydatetimepicker]

jQuery plugin for date, time, or datetime manipulation in form

jQuery plugin for date, time, or datetime manipulation in form

Links

JQuery Plugin Page: https://plugins.jquery.com/datetimepicker/
Home Page (docs): http://xdsoft.net/jqplugins/datetimepicker/
Github: http://github.com/xdan/datetimepicker

104 questions
0
votes
1 answer

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 TypeError: Cannot read property 'length' of…
0
votes
1 answer

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, it should show the time interval of 1 hour. for…
anusha
  • 115
  • 2
  • 14
0
votes
1 answer

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 fix it? The datetime that I inserted was 2018-10-09…
0
votes
1 answer

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 is 9:00am, I have the following code working…
Ravi Ram
  • 24,078
  • 21
  • 82
  • 113
0
votes
2 answers

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 solution. http://jsfiddle.net/yXMKC/4245/ Js: var…
Apple Orange
  • 646
  • 5
  • 12
  • 27
0
votes
1 answer

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 hourMin and the hourMax to the current start_date…
Stella Han
  • 161
  • 1
  • 7
0
votes
1 answer

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", changeMonth: true, changeYear:…
User
  • 1,334
  • 5
  • 29
  • 61
0
votes
2 answers

Set limit to next 365 days in datetimepicker in jquery

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, format: 'Y-m-d H:i:s', lang: 'en', startDate:…
0
votes
1 answer

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 value through jequery, the value is always…
0
votes
1 answer

Issue with jQuery datepicker beforeShow date format

I have intergrated jQuery datepicker, date format I want in the datepicker text box is e.g. "Fri, Aug 4", this is all working. Problem: When I open the calendar with date ("Fri Aug 4") in the text box , this date gets highlighted in the calendar but…
Dhananjay
  • 85
  • 1
  • 11
0
votes
1 answer

Convert jQuery datetimepicker date and time format into a Rails DateTime format

I would need to implement jQuery datetimepicker into my Ruby on Rails 5 application. There is good documentation for jqueryui Date picker, included two railscasts by Ryan Bates. As datetimepicker is concerned, I suppose the only concern about rails…
Asarluhi
  • 1,280
  • 3
  • 22
  • 43
0
votes
0 answers

date and time picker with validation

I got a greater example of validating period with date picker without time. Is it possible to make the validation with date and time together? The Example from:…
Salah Salem
  • 81
  • 1
  • 1
  • 8
0
votes
1 answer

validate time on button click so that in datetimepicker, remaining hours for the day is shown

I need to validate time field in my project (which is a jquery-datetimepicker) in such a way that it displays time only for the rest of the day. What I mean is : The time now is Wed Mar 01 2017 15:25:36 GMT+0530 (India Standard Time) I have an…
Ashish Bahl
  • 1,482
  • 1
  • 18
  • 27
0
votes
0 answers

Get multiple datetimes using JQuery datetimepicker

Configured the datetimepicker for an order_date input field that works fine. $('#order_date').datetimepicker({ dateFormat: 'yy-mm-dd', timeFormat: 'HH:mm:ss', showSecond: false, stepMinute: 15 }); The requirement is to…
Arif
  • 1,369
  • 14
  • 39
0
votes
2 answers

DatePicker JQuery UI valiadtion to date >= from date

Can anyone tell me how to do validation through class name (i.e) .datepicker Here is the demo to have a validation for to date >= from date $('.datepicker').datepicker({ changeYear: true, dateFormat: "dd-mm-yy", yearRange: '2006:' + (new…
Ammu
  • 27
  • 6