function GetTodaysDate()
{
var todaysDate = new Date();
var currentMonth=parseInt(todaysDate.getMonth())+1;
return todaysDate.getFullYear()+'-'+currentMonth+'-'+todaysDate.getDate();
}
{
var todaysDate = new Date();
var currentMonth=parseInt(todaysDate.getMonth())+1;
return todaysDate.getFullYear()+'-'+currentMonth+'-'+todaysDate.getDate();
}
No comments:
Post a Comment