SPFieldCalculated.DateFormat Property
Gets or sets the date and time formatting that is used in the field.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public Property DateFormat As SPDateTimeFieldFormatType
Get
Set
'Usage
Dim instance As SPFieldCalculated
Dim value As SPDateTimeFieldFormatType
value = instance.DateFormat
instance.DateFormat = value
[ClientCallableAttribute]
public SPDateTimeFieldFormatType DateFormat { get; set; }
Property Value
Type: Microsoft.SharePoint.SPDateTimeFieldFormatType
A Microsoft.SharePoint.SPDateTimeFieldFormatType value that specifies a date and time format.