timestamp
#219
Replies: 1 comment 1 reply
-
Hi, u can add yourCustomTimeStam: new Date(0) to schema, or u can see more details about updatedAt and createdAt ref: https://mongoosejs.com/docs/timestamps.html |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I there, I am struggling with return timestamps from User Schema
![Screen Shot 2565-09-11 at 21 34 21](https://user-images.githubusercontent.com/32511654/189533221-c5e21a8a-014c-4d1e-b39d-e31b0b7276ad.png)
is there any configuration somewhere to enable timestamps to be returned?
Ken
Appreciated your time
Beta Was this translation helpful? Give feedback.
All reactions