SqlDateTime.DayTicks Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of ticks representing the date of this SqlDateTime structure.
public:
property int DayTicks { int get(); };
public int DayTicks { get; }
member this.DayTicks : int
Public ReadOnly Property DayTicks As Integer
Property Value
The number of ticks representing the date that is contained in the Value property of this SqlDateTime structure.
Exceptions
The exception that is thrown when the Value
property of a System.Data.SqlTypes structure is set to null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.