function stringifyTomorrow() {
var today = moment();
var tomorrow = today.add('days', 1);
return moment(tomorrow).format("YYYY-MM-DD");
}
Please also note:
- there is also moment.utc()
- there is also subtract
- legit (dojo-flavored): if (moment() < moment(this.whatever.get("value"))) {
No comments:
Post a Comment