Date.daysBetween
int daysBetween(glib.date.Date date2)Computes the number of days between two dates. If date2 is prior to date1, the returned value is negative. Both dates must be valid.
Parameters
date2 | the second date |
Returns
the number of days between date1 and date2