Click or drag to resize

DateTimeOperationsMultipliedWith Method

Multiplies the time span with the specified factor.

Namespace:  TomsToolbox.Core
Assembly:  TomsToolbox.Core (in TomsToolbox.Core.dll) Version: 1.0.75.0
Syntax
public static TimeSpan MultipliedWith(
	this TimeSpan timeSpan,
	double factor
)

Parameters

timeSpan
Type: SystemTimeSpan
The time span.
factor
Type: SystemDouble
The factor.

Return Value

Type: TimeSpan
The time span multiplied with the factor

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TimeSpan. 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