difference


Description:

public TimeSpan difference (DateTime begin)

Calculates the difference in time between this and begin.

The TimeSpan that is returned is effectively this - begin (ie: positive if the first parameter is larger).

Parameters:

this

a DateTime

begin

a DateTime

Returns:

the difference between the two DateTime, as a time span expressed in microseconds.