DateTime.difference

Calculates the difference in time between end and begin. The #GTimeSpan that is returned is effectively end - begin (ie: positive if the first parameter is larger).

Parameters

begin glib.date_time.DateTime

a #GDateTime

Return Value

Type: glib.types.TimeSpan

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