public static TotalYears ( this end, System.DateTime start ) : int | ||
end | this | The end. |
start | System.DateTime | The start. |
return | int |
public static int TotalYears( this DateTime end, DateTime start )
{
return ( end.Year ) - ( start.Year );
}