GCS Disciplinary Notice            
Teacher:

Student:

Enter Student Name here:

 

Teacher's Comment:    
Teacher sends info to data base and automatically emails parents.

Teacher can Edit Previous Disciplinary Notices

View Student Log
 

The script is shown below. It isn't written quite the way a programmer would write it, but it works, and it's fairly easy to understand, since it follows the items in the bulleted list above exactly. The hour is  <% if hour(now) = 0 then %>    midnight. <% end if     if hour(now) = 12 then %>   noon. <% end if     if (hour(now) >= 1) and (hour(now) <= 11) then %>     <% =hour(now) %> o'clock AM. <% end if     if (hour(now) >= 13) and (hour(now) <= 23) then %>     <% =hour(now) - 12 %> o'clock PM. <% end if %> If you type (or better yet, cut-and-paste) this script in a Web page, when you view the page, you should see something like this:

The hour is 4 o'clock PM.
Bavuso, Alisha
Campbell, Cameron
Case, Michael
Cason, Sarah
Dionne, Rachel
Elish, Katherine
Foster, Alexander
Hedges, Samuel
Hull, John
Jacobsen, Ethan
Jeon, Gi
Keller, Lucas
Kubow, Daniel
Meyer, Kateland
Redburn, Sean
Retherford*, William
Rivers, Lauren
Stevens, Juliane
Tinkler IV, Frederick
Watson, Edward