TimeSpan.Zero() Method

Top 

Description

Creates a TimeSpan representing a zero value.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

TimeSpan.Zero(

)

 

 

Return Value

Type:

timespan

Units:

day

 

 

Returns the created TimeSpan representing a zero value.

 

Syntax

myTimeSpan1 = TimeSpan.Zero();

 

 

See also

TimeSpan Object

TimeSpans Guide

Parsing Dates and Times