Start from different time other than present with Moment.js

  javascript, jquery, momentjs

I want to test if my logic is working well, and for that I would have to wait until the end of the week. Is there any way I can change the time moment.js starts counting other than the second it is initiated?

For example: I want to give it the date "12-04-2021 12:00:00" and start counting up from there.

Source: Ask Javascript Questions

LEAVE A COMMENT