<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _ <SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _ Public Class SPFieldDateTime Inherits SPField
Dim instance As SPFieldDateTime
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] [SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] public class SPFieldDateTime : SPField
If you set properties of the SPFieldDateTime class you must call the Update method for changes to take effect in the database.
An SPFieldDateTime object can be rendered through the DateTimeField server control.
The SPFieldDateTime class corresponds to the DateTime data type that is specified through the Type attribute of the Field element.