getSecondsDifference

Get the difference in time (seconds) between two java.util.Date

Return

the seconds difference between two dates.

Parameters

date
the old date
fun Date.getSecondsDifference(date: Date): Int