SharePoint Journey
Tuesday, September 2, 2014
Get Current Date using Javascript
we can get current date using following code:
var Currentdate = new Date();
var DateNow = (Currentdate.getMonth() + 1) + '/' + Currentdate.getDate() + '/' + Currentdate.getFullYear()
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment