VirtualTimeSpan.RoundedToHours() Method

Top 

Description

Returns the TimeSpan rounded to the nearest hour.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

VirtualTimeSpan.RoundedToHours(

)

 

 

Return Value

Type:

timespan

Units:

day

 

 

The value of the rounded TimeSpan.

 

Syntax

myTimeSpan1 = myTimeSpan2.Abs().RoundedToHours();

 

 

See also

VirtualTimeSpan Object