BS-10823, Date data types are now stored as long in the database