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
1
vote
2 answers

Disable time selection in jquery DateTimePicker

Using dateTimePicker. I'm trying range between date. When I select the day it's working, but the hours section is not working. The picture makes it more understandable: My code: $("#start_datetimepicker").datetimepicker({ lang: "tr", …
Volkan
  • 36
  • 1
  • 6
1
vote
1 answer

Getting datetime formats to match with jquery datetimepicker and symfony form field

The default datetime format in a symfony datetime field is yyyy-MM-dd HH:mm:ss for my locale. This is not very user friendly so I'd like to change it to the long date format. I'm also using jquery datetimepicker after the page loads to assist users…
John the Ripper
  • 2,389
  • 4
  • 35
  • 61
1
vote
1 answer

I want to customize jQuery Datepicker control, it should expand year picker when click on month

I am using jQuery Datepicker to pick up date in my web page. I want similar functionality as shown pic below. Sample Datepicker
1
vote
0 answers

Unable to get property 'slice' of undefined or null reference while using datetimepicker.js file

Tried to download the file from http://www.malot.fr/bootstrap-datetimepicker/ and added the files datatimepicker.min.css and datatimepicker.js
<%--
Lekha
  • 13
  • 3
1
vote
0 answers

jquery datetimepicker maxTime and minTime not being updated onShow

I'm using two datetimepickers inputs and am trying to grey out and prevent users from selecting invalid start and end times based on previous input in the datepickers. For example end time should never be before start time and vice-versa. For some…
1
vote
0 answers

XDsoft jQuery datetimepicker show only month

I am using jQuery datetimepicker. Now I need to set only month in datetimepicker. For that I used some code but that's not working for me. Here is my code $(function () { var setMinTime = ""; $('#products_delivery').datetimepicker({ …
Lemon Kazi
  • 3,308
  • 2
  • 37
  • 67
1
vote
3 answers

Laravel date validation fails with jQuery datepicker

In my blade file I have defined:-
{{ Form::text('event_date','',array('id'=>'event_date','readonly', 'class' => '')) }}
Ravi Hirani
  • 6,511
  • 1
  • 27
  • 42
1
vote
2 answers

Bootstrap datepicker altFormat alternative?

jQuery datepicker has a function called altFormat, which allows you to display a date format to the user, while using another as value. How do I show 01/01/1970 to user while having 1970-01-01 as value? Example $(document).ready(function(){ …
0
votes
0 answers

XD Soft - DateTimePicker - Same Day - Time Slot Color on focus/Clicked is not changing

Issue is on same day background Color for Time slot will not change when clicked or selected. It is selected and emails are sent also but only issue is it will not change color when selected. For next day it works fine, roll over and clicked color…
0
votes
0 answers

Date time format using jQuery

I have a code that is used in .NET Core MVC and its like
0
votes
0 answers

How to get all dates and Days from Week Number?

I have 7 buttons with text current Week's Dates, Month, Day. On Click of something need changes the Dates, Month, Days to next Week of the month/next month. $("#nextweek").click(function () { debugger; var lastDayinWeek =…
0
votes
1 answer

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 dayOfWeek, directly into the datetimepicker. Obvously…
ICoded
  • 319
  • 3
  • 18
0
votes
1 answer

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/Y H:i', mask: true }).off('open.xdsoft…
evavienna
  • 1,059
  • 11
  • 29
0
votes
1 answer

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 datepicker the date is sent 2022-07-22. How I can…
0
votes
1 answer

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 { Component, OnInit } from '@angular/core'; import {…
Rasik
  • 1,961
  • 3
  • 35
  • 72