Click or drag to resize
FormatHelperRoundMinutes Method
Rounds the minutes of a DateTime instance.

Namespace: Telerik.Windows.Documents.Spreadsheet.Formatting
Assembly: Telerik.Windows.Documents.Spreadsheet (in Telerik.Windows.Documents.Spreadsheet.dll) Version: 2017.3.1010.40 (2017.3.1010.40)
Syntax
public static DateTime RoundMinutes(
	this DateTime dateTimeValue
)

Parameters

dateTimeValue
Type: SystemDateTime
The DateTime value.

Return Value

Type: DateTime
The DateTime instance with rounded minutes.

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).
See Also