Kathir
Kathir

Reputation: 25

Java Object to save timestamp in mongo db using jongo?

I would like to save timestamp information in mongodb.

I would like to know equivalent time stamp class which needs to be used in the entity to save it via jongo.

Thanks.

Upvotes: 0

Views: 179

Answers (1)

Andriy Simonov
Andriy Simonov

Reputation: 1288

java.util.Date works well for me.

Upvotes: 1

Related Questions