Changed code so that system uses timestamp data type and is storing date
in cassandra