switch to sending seconds to store instead of Date