now = new Date();
//alert(now.toLocaleString());

function Day(){
	day = now.getDate();
	if( day < 10) day ="0" + day;
	return day;
}

function Month(){
	month = now.getMonth() + 1;
	if( month < 10) month ="0" + month;
	return month;
}

function Year(){
	year = now.getYear();
	if( year <= 100) year+=1900;
	return year;
}

function Hour(){
	hour = now.getHours();
	if( hour < 10) hour ="0" + hour;
	return hour;
}

function Minute(){
	min = now.getMinutes();
	if( min < 10) min ="0" + min;
	return min;
}

function Secs(){
	secs = now.getSeconds();
	if( secs < 10) secs = "0" + secs;
	return secs;
}