Created
September 8, 2015 09:55
-
-
Save arahansa/d4452422ae30cb4d110a to your computer and use it in GitHub Desktop.
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
function caculateLimitDay(elaspedDay){ | |
//parseInt("10") | |
var today = new Date(); | |
var t = new Date(today); | |
t.setDate(today.getDate()+elaspedDay); | |
var text = t.getFullYear() + "."+(t.getMonth() + 1) + "." + t.getDate() +" " + t.getHours() +":"+t.getMinutes()+"까지"; | |
return text; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment