You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/faq.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,11 @@
4
4
MongoDB [stores times in UTC by default](https://docs.mongodb.com/manual/reference/bson-types/#document-bson-type-date), and will convert any local time representations into this form.
5
5
Applications that must operate or report on some unmodified local time value may store the time zone alongside the UTC timestamp, and compute the original local time in their application logic.
6
6
7
-
#### Example for reconstructing the original local time by applying the saved offset:
8
-
From the MongoDB shell
7
+
#### For reconstructing the original local time you will have to apply the saved offset:
8
+
> **⚠ Note** <br>
9
+
TimeZoneOffSet is saved in seconds.
9
10
10
11
```javascript
11
12
var record =db.getCollection("riskScore").findOne()
0 commit comments