I try to calculate the difference between to Timestamps in a cloud function.
const diff = admin.firestore.Timestamp.now().toMillis() - licence.startDate.toMil