Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [datepicker]

A specific web control that allows the selection of a date from a calendar.

0
votes
0answers
12 views

How to attach SP date picker to text input via javascript?

Created a web part page to test initializing SharePoint controls via javascript, can't get the date picker working. Its been driving me nuts for hours now. Anyone see any obvious mistakes? <input ...
0
votes
0answers
56 views

PowerApps DatePicker size

Is there a way to increase the size of the calendar popup when the Datepicker is opened/selected? It seems a little small and can be difficult to select a specific date on smaller phone screens. The ...
0
votes
0answers
40 views

Prevent timezone issue and save date time as is in SharePoint using JavaScript

This maybe a common issue but my requirement is below. 1) user selects date and time using Bootstrap datetimepicker 2) If user selects 15/9/2018 12:03 PM, it should save as is Currently the timezone ...
2
votes
2answers
58 views

Sharepoint Webpart called DatePicker swith to another day at 09:00 instead of 00:00

I am working on SharePoint Online. I have created a page with a DatePicker on it and a list. I have configured the DatePicker that when a user changes the date on the DatePicker the list updates. The ...
0
votes
0answers
62 views

How to use SharePoint datepicker in SP.UI.ModalDialog.showModalDialog()?

I have created one user interface which i am displaying in the SharePoint modal. Below is the code where am passing the HTML content to SP.UI.ModalDialog.showModalDialog. var content = document....
0
votes
1answer
212 views

Setting a date field with JS/Jquery with multple formats

Sounds trivial but seems to be harder than I thought: I want to set a date field in a SharePoint Online (should be compatible with 2016) form via JavaScript/JQuery: $(myDateVieldInput).val('3/17/2018'...
0
votes
2answers
213 views

Column validation for datepicker - end date must be within 2 years of start date

I have a datepicker. I went into list settings for the start date and set the validation to =Start Date >= today() That works great. Now I want the End Date to be within 2 years of that End Date or ...
3
votes
1answer
339 views

How to customise date picker validation in sharepoint

In sharepoint, the date picker function has a limit such that if you pick a date beyond what the system gives, it produces the following error: "You must specify a valid date within the range of 01....
0
votes
2answers
528 views

JS to change 5 minute interval on SP list date picker to 15 minutes instead

I want to change the default 5 minutes increment/interval on the OOTB Date Picker WebPart on a SP13 custom list to a longer interval (such as 15 minutes). How does one achieve this? I am fairly new ...
0
votes
1answer
139 views

How to get prior Thursday of a specified date

I'm working on a calendar week that starts on Thursday, not Sunday, and it's causing me a few fits that I hope someone can assist me with. How do I take a date from a date that was entered into a ...
0
votes
1answer
792 views

Date picker to only show month year

I have created an input form where the users are supposed to pick a date. But the users would like to only need to choose month and year as the specific date of the month is not relevant in this ...
0
votes
2answers
95 views

Adding list item in SharePoint List gives an error on date format

i have an issue with all my lists in SharePoint, giving error when adding an item to list "You must specify a valid date within the range of 1/1/1900 and 12/31/8900." I have checked regional settings ...
1
vote
0answers
107 views

Sharepoint 2016 Date range filter

I'm trying to make dynamic date range filter using sharepoint 2016. is there any other way to make this filter except for Rest API
1
vote
1answer
669 views

Sharepoint Date picker jumps to the top of page in Chrome …and now in IE!

I have an issue with the Chrome browser, and found the next "solution" in this site: function OnIframeLoadFinish() { ULSvmd: ; var picker; if (typeof this.Picker != 'undefined') ...
2
votes
0answers
26 views

Date filter - default to show a subset of recent results unless the user chooses to include old results (Sharepoint 2013 Search)

Currently in the search results we display the date refiner which includes all results. We want to by default display only results from the last year, and only include older results when the user ...
0
votes
2answers
382 views

SharePoint Datepicker not displaying near DateTime Field

In one of my site collection all date-picker values are getting displayed at the very end of the page unlike the standard near the date-time field. I inspected the code for the iframe of the date-...
1
vote
1answer
1k views

Fabric UI JS: DatePicker - where is the onSelectDate method?

I'm a bit confused over the implementation of the DatePicker component within Fabric UI JS. It states in the documentation that there is an event called "onSelectDate" within the React version of the ...
0
votes
1answer
469 views

Set EndDate to value of EventDate with jQuery

how can I set field EndDate automatically to value of field EventDate with jQuery after user choice EventDate from calendar? I use code, but it doesn't work for me: <script> $(document)....
2
votes
1answer
206 views

SharePoint date-picker picking up next date instead of today

I'm having problem with date-picker. The current system date is 8/30/2016, time is 11:19 pm. but in the time section it's picking up next date (8/31 instead of 8/30) see screenshot below. Please help....
0
votes
1answer
122 views

SP2013 DatePicker iframe is missing height and left in style attribute

I have a Webtemplates Solution based on the PROJECTSITE template and the seattle.master. After deployment all site collections based on my template will be provisioned by powershell in an automated ...
1
vote
3answers
980 views

Set maxdate in sharepoint datepicker control

We have OOTB New item form with date time field. We need to restrict users to select future date for Time field. So We want to disable (gray out) the future dates. How we can achieve this? Any help ...
4
votes
2answers
1k views

Display datepicker on top of the forms's modal dialog

I have a custom item edit form and I have a couple of DateTime properties that has to be filled at the bottom of the form (using datepicker): So when I click the mini calendar icon to choose the date,...
0
votes
1answer
563 views

Process DateTime field value in SharePoint List Edit form

I am working on a Item Update event receiver in a SharePoint document library. One of the fields in this library is a Date and Time (Date only format) field. When a user selects a date and clicks on ...
1
vote
0answers
85 views

datetime control to be iframed

Is there a way to i-frame a SharePoint page containing a datetime control (i.e. a datepicker)? I have a SharePoint page where I set The page is correctly "i-framed" in an external page, but the ...
0
votes
1answer
119 views

Apply a filter from a Date Filter web part that was set with JS/JQuery

I have a Date Filter web part that is connected to a list. I can set the content of the filter with jQuery, but how can I get the filter to apply itself when I set the value this way? Normally you ...
2
votes
1answer
848 views

how can i have date range for datepicker (date field) - when submitting form sharepoint list 2013

When users are selecting a date i want the date to be between a range. e.g they can only select from 1st jan to 2nd march nothing else. Is there a way to be able to add this into the date field?
2
votes
1answer
2k views

Keypress enter key does not work in Chrome

I am replacing the default datepicker for the jquery picker and I have a Javascript code to handle that. I also have a keypress event when I go to the element with tab and press enter it show me the ...
1
vote
1answer
964 views

Validating a set of dates in Microsoft Sharepoint

I am trying to validate dates in a task request form that has a column of [Date of Request] (which would be the day that they are adding the task to the main hub. I, then, want that [Date of Request]...
1
vote
1answer
421 views

SharePoint:DateTimeControl DatePickerImage javascript

I need to get DatePickerImage control of SharePoint:DateTimeControl. I tried : document.getElementById('<%=DateDebut.Controls[0].ClientID %>') document.getElementById('<%=DateDebut.Controls[...
1
vote
1answer
2k views

Check SP datetime control is empty or not

I want to check whether a Sharepoint datetime control is empty or not. How can I do this using jQuery?
0
votes
1answer
818 views

DateTime issues with DateTimePicker and SP 2010 Regional settings

So I am currently building an SP custom form which uses the jQuery ui datetimepicker (extension of jQuery ui) which allows me to select dates and times in one control. Once this is done and the form ...
1
vote
2answers
613 views

How to trim down date to example 2014-10-10?

How can i trim down date from this Fri Oct 31 2014 01:00:00 GMT+0100 (Västeuropa, normaltid) to this 2014-10-31 on my get_fieldValues i think i can use .setDate.getDate()+ 1).toISOString().substr(0, ...
20
votes
4answers
8k views

Sharepoint Datepicker jumps to top in Chrome

I have an EditForm in which a Date field is located towards the bottom. When clicking the DatePicker button in Chrome, the form jumps to the top forcing the user to scroll to the bottom again. This is ...
2
votes
0answers
903 views

clickDatePicker Function Forces Chrome to Refresh Page

Surely other SP 2013 users have encountered this one. This is a bug specific to Chrome which causes a web part form page to refresh when a user attempts to use Sharepoint's out-of-the-box datepicker ...
0
votes
0answers
790 views

How to hide the calendar image for a particular group

I need to make a column date read only for a particular group in SharePoint. I am able to make the textarea of date field in editform.aspx readonly. I have a content editor where I am using ...
0
votes
2answers
4k views

How can i disable datepicker from sharepoint list date column

In sharepoint when we edit a list having a date column date picker is available.Is there any way i can disable, hide or remove that date picker.
0
votes
0answers
311 views

Fire events on TIME changed in date picker

I am making a visual web part that has a date and time picker. Essentially, I would like the first of two date pickers to update the second date picker as long as the second one has not been modified ...
1
vote
2answers
2k views

SharePoint 2013 OOTB DateTime Control not working with Custom Masterpage

I Created a SharePoint 2013 custom list which has the Date Time control. On clicking of the Date control, it is not rendering properly. It works perfectly with default master pages but not with custom....
3
votes
2answers
2k views

SharePoint 2013 Datepicker Not Rendering Correctly

I’m having a problem with my Calendar datepicker in Sharepoint 2013. It’s like it is missing some CSS. And I get the below error in my console : Resource interpreted as Stylesheet but transferred ...
4
votes
2answers
16k views

How to make datepicker readonly from javascript?

Is there any possibility to hide Sharepoint 2013 datepicker by some javascript API method call?
1
vote
1answer
621 views

SharePoint 2013 Datepicker not styled

I have a SharePoint 2013 publishing site with a relatively highly customized master page. This master page is in use for both the system master page and the default master page. Problem: it causes ...
1
vote
0answers
415 views

Calculate months difference Info-path form SharePoint 2010

I have two date fields(start date and end date) in infopath form and a text field. In this text field the difference in months needs to be calculated. Condition : if the difference is 4 months and ...
0
votes
2answers
4k views

Broken DatePicker Calendar Popup

I'm having problems with the DatePicker in SP2013. The control shows fine, but the calendar popup is broken because of a missing stylesheet (the complete sprite sheet image is visible etc.). The css ...
1
vote
2answers
3k views

Fire events on Selecting date on DateTimeControl

How to fire event when selecting date on DateTimeControl?
1
vote
0answers
110 views

How do I stop an emailed form from scrolling left/right when viewing in Outlook 2010?

I have an InfoPath form that when submitted sends an email. When the email is viewed i have to scroll left/right to see all the data. I have tried setting the field sizes to a set PX but the Date ...
0
votes
2answers
3k views

Validate date and time in sharepoint datetime picker control

In my SharePoint 2010 visual web part, I have two SharePoint DateTime Picker controls which is used to add new appointment to the appointment schedule calendar. Here, one datetime picker control is ...
0
votes
1answer
2k views

Sharepoint Form Datetime fields height&width

I have SharePoint custom form with jquery tabs for some reason the sharepoint datefield is so small you can't see it even though it has width specified width. It shows as a small box about the size of ...
3
votes
7answers
4k views

Date Field shows the word 'true' instead of a calendar after clicking the date picker

We're having this problem across all of our sites since migrating to SP2010. Occasionally (let's say 1/50 times), when you click the Calendar icon on a date, instead of seeing a calendar, you see the ...
1
vote
3answers
6k views

Sharepoint DateTime control, how to call client side as well as server side on datechanged

I am having a datetime control in sharepoint custom webpart <SharePoint:DateTimeControl runat="server" ID="txtUKdtofAdm" LocaleId="2057" DateOnly="True" ...
2
votes
0answers
565 views

How to insert null value in date type column

I created date type column. I can't insert null value to the column using SharePoint date control