SqlDateTime.DayTicks Property

Definition

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