Jainul Khan
SENIOR EXECUTIVE MANAGER
Pages
Home
About Me
Events & Gallery
Contact
Wednesday, November 13, 2013
Find today’s date formatted (mm/dd/yyyy) using jQuery
var
getDateToday =
new
Date();
var
dateFormat = getDateToday.toISOString().split(
"T"
)[0].split(
"-"
);
var
dateFormatted = dateFormat[1] +
"/"
+ dateFormat[2] +
"/"
+ dateFormat[0];
alert(
'Date Today mm/dd/yyy Format : '
+ dateFormatted);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment