Function now

  • 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.

    Returns NativeDate

Generated using TypeDoc