SqlDateTime.DayTicks Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the number of ticks representing the date of this SqlDateTime structure.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public int DayTicks { get; }

Property Value

Type: System.Int32

The number of ticks representing the date that is contained in the Value property of this SqlDateTime structure.

Exception Condition

The exception that is thrown when the Value property of a System.Data.SqlTypes structure is set to null.

.NET Framework
Available since 1.1
Return to top