SPQuery.DatesInUtc Property

Gets or sets a Boolean value that specifies whether the query returns dates in Coordinated Universal Time (UTC) format.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallablePropertyAttribute(Name := "DatesInUtc")> _
Public Property DatesInUtc As Boolean
    Get
    Set
'Usage
Dim instance As SPQuery
Dim value As Boolean

value = instance.DatesInUtc

instance.DatesInUtc = value
[ClientCallablePropertyAttribute(Name = "DatesInUtc")]
public bool DatesInUtc { get; set; }

Property Value

Type: System.Boolean
true if dates are returned in UTC format; otherwise, false.

See Also

Reference

SPQuery Class

SPQuery Members

Microsoft.SharePoint Namespace