changed collectionid as unix timestamp, and time as normal date