TimeSpan.TruncatedToDays() Method

Top 

Description

Returns the TimeSpan truncated to days.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

TimeSpan.TruncatedToDays(

)

 

 

Return Value

Type:

timespan

Units:

day

 

 

The value of the truncated TimeSpan.

 

Syntax

myTimeSpan1 = myTimeSpan2.TruncatedToDays();

 

 

See also

TimeSpan Object

TimeSpans Guide

Parsing Dates and Times