Returns the start of the hour that contains the specified instant.
Namespace: Extreme.DataAnalysisAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static DateTime StartOfHour(
this DateTime date
)
<ExtensionAttribute>
Public Shared Function StartOfHour (
date As DateTime
) As DateTime
public:
[ExtensionAttribute]
static DateTime StartOfHour(
DateTime date
)
[<ExtensionAttribute>]
static member StartOfHour :
date : DateTime -> DateTime
Parameters
- date
- Type: SystemDateTime
An instant.
Return Value
Type:
DateTimeThe instant at the beginning of the hour that contains
date.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DateTime. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Numerical Libraries
Supported in: 6.0
Reference