I am working with moment.js, but as I am testing the moment.js library I continue to receive an error.
var back30Days=moment().subtract(30, 'days').format("dddd, MMMM Do YYYY, h:mm:ss p");
it returns "moment not defined.
" referring to .format("dddd, MMMM Do YYYY, h:mm:ss p");
I've read the documentation, and everything looks fine, but when I reload my page, the js I'm working with won't load.
any tips would be greatly appreciated!
With latest momentjs: