Created
June 20, 2014 20:53
-
-
Save LucaLanziani/1d42c4b00a2152e3b125 to your computer and use it in GitHub Desktop.
Rememberme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var moment = require('moment'); | |
var tomorrow = "", | |
nextweek = "", | |
nextmonth = ""; | |
tomorrow = moment().add('days', 1).format('\\H H D M *') | |
nextweek = moment().add('weeks', 1).format('\\H H D M *') | |
nextmonth = moment().add('months', 1).format('\\H H D M *') | |
console.log(tomorrow) | |
console.log(nextweek) | |
console.log(nextmonth) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment