Chain Middleware to Create a Time Server

app.get('/now', (req, res, next) => {
  req.time = new Date().toString();
}, (req, res)=> {
  res.json({ time: req.time })

what is wrong with my code iam not getting current time ,but getting current date.
it shows The /now endpoint should return the current time.

If you have a question about a specific challenge as it relates to your written code for that challenge, and you’ve tried to solve it at least 3 times so far and still need some help, just click the Ask for Help button located on the challenge (it looks like a question mark).
This button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

Your code should be passing. Make sure your local machine time is correct.