var date_statement="";
var time_statement="";
var today=new Date();
var month="";
var day="";



function time_of_day() {
        var time=today.getHours();

        time_statement=""

        if(time>=5 && time<=11)
                time_statement="Good Morning.\n"
        if(time>11 && time<=17)
                time_statement="Good Afternoon.\n"
        if(time>17 || time<5)
                time_statement="Good Evening.\n "

}

function todays_date() {
        var month=today.getMonth();
        var day_of_week=today.getDay();

        date_statement=""
        document.month=""

        month++; // So it's now between 1 - 12.
        if(month==1) {
                january(today.getDate());
                document.month="January";
        }
        if(month==2) {
                february(today.getDate());
                document.month="February";
        }
        if(month==3) {
                march(today.getDate());
                document.month="March";
        }

        if(month==4) {
                april(today.getDate());
                document.month="April";
        }

        if(month==5) {
                may(today.getDate());
                document.month="May";
        }

        if(month==6) {
                june(today.getDate());
                document.month="June";
        }

        if(month==7) {
                july(today.getDate());
                document.month="July";
        }

        if(month==8) {
		august(today.getDate());
                document.month="August";
        }

        if(month==9) {
                september(today.getDate());
                document.month="September";
        }

        if(month==10) {
                october(today.getDate());
                document.month="October";
        }

        if(month==11) {
                november(today.getDate());
                document.month="November";
        }

        if(month==12) {
                december(today.getDate());
                document.month="December";
        }

        document.day=""

         if(day_of_week==0)
                document.day="Sunday";
        if(day_of_week==1)
                document.day="Monday";
        if(day_of_week==2)
                document.day="Tuesday";
        if(day_of_week==3)
                document.day="Wednesday";
        if(day_of_week==4)
                document.day="Thursday";
        if(day_of_week==5)
                document.day="Friday";
        if(day_of_week==6)
                document.day="Saturday";

}

function january(date) {
        if(date==1)
                date_statement="Happy New Year!";
}

function february(date) {
        if(date==14)
                date_statement="Happy Valentine's Day.";
}


function march(date) {
        if(date==1)
                date_statement="Today is St. David's Day.";
        if(date==17)
                date_statement="Today is St. Patrick's Day.";

        if(date==21)
                date_statement="Today's The First Day of Spring.";
}


function april(date) {
        if(date==1)
                date_statement="Today's April Fool's Day.";
        if(date==23)
                date_statement="Today is St. George's Day.";

}


function may(date) {
        }


function june(date) {
        if(date==21)
                date_statement="Today is the Longest Day.";

}


function july(date) {
}

function august(date) {
       
}


function september(date) {

}

function october(date) {
  

}

function november(date) {
		 if(date==30)
                date_statement="Today's St. Andrew's Day.";

}

function december(date) {
        if(date==21)
                date_statement=" Today's The First Day of Winter.";
        if(date==25)
                date_statement="Happy Christmas!.";

        if(date==31)
                date_statement="Tonight's New Years Eve!";

}



