TimeSpan.GetWholeSeconds() Method

Top 

Description

Returns the number of whole seconds represented by the TimeSpan.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

TimeSpan.GetWholeSeconds(

)

 

 

Return Value

Type:

number

Units:

s

 

 

The number of whole seconds represented by the TimeSpan.

 

Syntax

myVariable1 = myTimeSpan1.GetWholeSeconds();

 

 

See also

TimeSpan Object

TimeSpans Guide

Parsing Dates and Times