147
rated 0 times
[
150]
[
3]
/ answers: 1 / hits: 100681
/ 7 Years ago, sat, june 17, 2017, 12:00:00
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!
More From » time