let now = Date()        // current date/time (e.g., 2021-10-05 18:17:50 +0000)
let dateRef = now.timeIntervalSinceReferenceDate
print(dateRef)          // number of seconds since reference date (e.g., 655150670.057823)