DateTimeField.DateOnly Property
Sets or retrieves a value that indicates whether 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
Public Property DateOnly As Boolean
Get
Set
'Usage
Dim instance As DateTimeField
Dim value As Boolean
value = instance.DateOnly
instance.DateOnly = value
public bool DateOnly { get; set; }
Property Value
Type: System.Boolean
true if the control displays only date values; otherwise, false. The default is false.