Script Categories













Calendars >>> Season.

Display the current season and year as determined by the system clock.

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
var now = new Date();
var month = now.getMonth() + 1;
var date = now.getDate();
var year = now.getYear();
var season;
if ( month < 3) season = "Winter";
if (month >= 3 && month < 6) season = "Spring";
if (month >= 6 && month < 9) season = "Summer";
if (month >= 9 && month < 12) season = "Fall";
if (month == 12) season = "Winter";
//Y2K Fix
if (year < 2000) year = year + 1900;
document.write('<b>'+season + " " + year+'</b>');
//  End -->
</script>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).

http://www.cashadvance-loans.net/michigan/cash-advance-detroit-mi/ . painting on canvas.


©