// Get Year
function DT_getYear() {
	var dateToday = new Date;
	return dateToday.getFullYear();
}
// Get Month
function DT_getMonth() {
	var dateToday = new Date;
	return dateToday.getMonth();
}
// Get Date
function DT_getDate() {
	var dateToday = new Date;
	return dateToday.getDate();
}
// Get Hour
function DT_getNowHour() {
	var dateToday = new Date;
	return dateToday.getHours();
}
// Get Minute
function DT_getNowMinute() {
	var dateToday = new Date;
	return dateToday.getMinutes();
}
// Get Second
function DT_getNowSecond() {
	var dateToday = new Date;
	return dateToday.getSeconds();
}
// Define Date
function defineDaybyYMD(inY, inM, inD) {
	var theDate = new Date(inY, inM, inD);
	return (getDayName(theDate.getDay()));
}
// Get Day name
function getDayName(inNum) {
	var strDay;
	//switch(inNum) {
	//}
	if (inNum == 0)
		strDay = "Sunday";
	else if (inNum == 1) 
		strDay = "Monday";
	else if (inNum == 2) 
		strDay = "Tuesday";
	else if (inNum == 3) 
		strDay = "Wednesday";
	else if (inNum == 4) 
		strDay = "Thursday";
	else if (inNum == 5) 
		strDay = "Friday";
	else if (inNum == 6) 
		strDay = "Saturday";
	
	return strDay;
}
// Get Month name
function getMonthName(inNum) {
	var strMonth;
	//switch(inNum) {
	//}
	if (inNum == 0)
		strMonth = "";
	else if (inNum == 1) 
		strMonth = "January";
	else if (inNum == 2) 
		strMonth = "February";
	else if (inNum == 3) 
		strMonth = "March";
	else if (inNum == 4) 
		strMonth = "April";
	else if (inNum == 5) 
		strMonth = "May";
	else if (inNum == 6) 
		strMonth = "June";
	else if (inNum == 7) 
		strMonth = "July";
	else if (inNum == 8) 
		strMonth = "August";
	else if (inNum == 9) 
		strMonth = "September";
	else if (inNum == 10) 
		strMonth = "October";
	else if (inNum == 11) 
		strMonth = "November";
	else if (inNum == 12) 
		strMonth = "December";
		
	return strMonth;
}