DateTimeControl.DateOnly Property
Gets or sets a value that indicates whether or not the control displays only date values and not time values.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<BindableAttribute(True)> _
Public Property DateOnly As Boolean
Get
Set
'Usage
Dim instance As DateTimeControl
Dim value As Boolean
value = instance.DateOnly
instance.DateOnly = value
[BindableAttribute(true)]
public bool DateOnly { get; set; }
Property Value
Type: System.Boolean
true if the control displays only date values; otherwise, false. The default is false.