Created
January 7, 2013 02:48
-
-
Save simplelife7/4471905 to your computer and use it in GitHub Desktop.
【JS】获取当前时间
This file contains hidden or 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
/** | |
* 获取当前时间 | |
*/ | |
exports.getNowTime = function(){ | |
return exports.dateFormat(new Date(),"yyyy-MM-dd hh:mm:ss"); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment