reverted changes to DepositDBManager storing dates as long (now saved as
dates again)