Mongoose uses this function to get the current time when setting timestamps. You may stub out this function using a tool like Sinon for testing.
Generated using TypeDoc
Mongoose uses this function to get the current time when setting timestamps. You may stub out this function using a tool like Sinon for testing.