Click or drag to resize

DateTimeOperationsMultipliedWith Method

Multiplies the time span with the specified factor.

Namespace:  TomsToolbox.Essentials
Assembly:  TomsToolbox.Essentials (in TomsToolbox.Essentials.dll)
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