TimeSpan.Scaled(Variable) Method

Top 

Description

Multiplies the TimeSpan by a floating-point value and then quantizes it to a nanosecond grid.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

TimeSpan.Scaled(

Variable scale)

 

 

Arguments

scale


Description:

The scale factor to with which to multiply the TimeSpan.

 

 

 

Return Value

Type:

timespan

Units:

day

 

 

The scaled TimeSpan.

 

Syntax

myTimeSpan1 = myTimeSpan2.Scaled(myVariable1);

 

 

See also

TimeSpan Object

TimeSpans Guide

Parsing Dates and Times