   "Return a vector of all the emails that have been collected so far."
   [])
 
+;; ISO 8601 timestamp
+(defn current-timestamp [] 
+  (.format (SimpleDateFormat. "yyyy-MM-dd'T'HH:mm:ssZ") (.getTime (Calendar/getInstance))))
+
 ;; Store the contact by email and by id
 (defn store [id email referrer]
   (with-car

(ns coming-soon.models.contact
  (require [taoensso.carmine :as car]
           [coming-soon.config :as config]))

;; A Redis connection with Carmine
(def redis-pool (car/make-conn-pool))

      {:id id 
      :email email
      :referrer referrer
      :updated-at (current-timestamp)}))
    ;; commit the transaction
    (car/exec)))

