Edit

Share via


TimeSpan.HoursPerDay Field

Definition

Represents the number of hours in 1 day. This field is constant.

C#
public const int HoursPerDay = 24;

Field Value

Value = 24

Remarks

The value of this constant is 24.

Applies to

Product Versions
.NET 9