Tag Info

New answers tagged

2

You could use the response header from your REST request to figure out what date (and time) the server thinks it is. You can get at that information with something like: var req = $.getJSON("/_api/web/", function(data) { console.log(data) }) // doesn't matter, just make a request call... var serverDate = req.getResponseHeader("Date"); Then you'll just ...


0

You can make use of JavaScript Date Object for that. For example, while reading the data var scheduledTime = new Date(oListItem["ScheduledTime"]); Now you can calculate the new Time as follows var today = new Date(); var newScheduledTime = new Date(today.getYear(), today.getMonth(), today.getDate(), scheduledTime.getHours(), scheduledTime.getMinutes(), ...


0

You can do this by creating a workflow variable of type DateTime and then assigning its default value to Current Date


1

Date Time operations just like filtering for a date time is not supported. I tried it in many ways and never had a luck. You have to stay with the listdata.svc for that. Check out this post by Microsoft http://msdn.microsoft.com/EN-US/library/office/fp142385(v=office.15).aspx You will find all supported and unsupported OData query operations. Date and ...


0

You could try opening the list in Excel or Access and making the changes there. To do this, open the list in your browser (needs to be IE), from the ribbon click the List tab and then click either Export to Excel or Open in Access.


0

You can follow below example using PowerShell #Load necessary module to connect to SPOService [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client") | Out-Null [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.Runtime") | Out-Null #Login Information for script $User = "user@email.com" $Pass = ...



Top 50 recent answers are included