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
is there any configuration somewhere to enable timestamps to be returned?
Ken
Appreciated your time
Beta Was this translation helpful? Give feedback.
All reactions