logo

now() mm/dd/yyyy (javascript)

Overview: The now function returns the current month, current day, and current year and formats the data as mm/dd/yyyy

function now()
{
	var stDate;
	var now;
	now= new Date();
	stDate=(now.getMonth()+1)+"/"+now.getDate()+"/"+now.getYear();
	return(stDate);
}
s