Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 8449

API for interacting with SharePoint from .NET, Silverlight, and JavaScript.

0 votes

Get SharePoint Server datetime

We have the same question. Answer here: JavaScript SP.CamlQuery() return DateTime fields with offset (in my case +11 hours) But we have to use server insert in our web-part. In you case in JS functi …
user1167761's user avatar
1 vote

Datetime update is one day off

Example: update ListItem datetime field "dateField" (only for SharePoint 2013) var addBrowserUtcOffset = function (date) { var utcOffsetMinutes = date.getTimezoneOffset(); var newDate = new D …
user1167761's user avatar
1 vote

How to get list by url using client object model?

If it is possible, you can use server insert like this: context.get_web().get_lists().getById('<%= MyListId %>'); If you can't use server insert and JS is placed, for example, on DispForm.aspx - Sh …
user1167761's user avatar
2 votes
1 answer
4k views

JavaScript SP.CamlQuery() return DateTime fields with offset (in my case +11 hours)

JavaScript SP.CamlQuery() return DateTime fields with offset (in my case +11 hours). In standart Display/Edit forms and views display correct DateTime. How to get correct DateTime via SP.CamlQuery()? …
user1167761's user avatar