difference


Description:

public TimeSpan difference (DateTime begin)

Calculates the difference in time between this and begin.

The time span that is returned is effectively this - begin (positive if the first parameter is larger).

This effectively converts both date-times to the same time zone before calculating the difference.

Parameters:

this

a date-time

begin

another date-time

Returns:

the difference between the two date-times, as a time span expressed in microseconds