Date Time Extensions.Start Of Hour Method
Returns the start of the hour that contains the specified instant.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
The instant at the beginning of the hour that contains date.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static DateTime StartOfHour(
this DateTime date
)
Parameters
- date DateTime
- An instant.
Return Value
DateTimeThe instant at the beginning of the hour that contains date.