I’m confused about the insertion operation with Date object via
mongo-java-driver that always short of
8 hours where my place of residence is Taiwan (GMT+8). According to those posts 1 2, we can observe that the incoming Date object will be set to ISO_8601_DATE_FORMAT as shown in the following code snippet.
1 2 3 4 5 6
An example next demonstrates that the given Date will plus 8 hours in the GMT+8 time zone 3.
1 2 3 4