Which is the best way to store a date in MongoDB without considering the timezone?
I try to explain the problem with an example:
Giuseppe in Italy created an invoce in date "December 15, 2014"
, when the system store this date, in MongoDB will be stored "2014-12-14T23:00:00.000Z"
.
John in UK read the invoice and see "December 14, 2014"
as the invoice date.
Obviously this information is wrong becouse also Jhon should see "December 15, 2014"
as the invoice date, how can I solve this problem?