DateTime.difference

Calculates the difference in time between end and begin. The Since 2.26

class DateTime
difference

Parameters

begin DateTime

a GDateTime

Return Value

Type: GTimeSpan

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

Meta