anchor.diff:  
   <!--==================================================================================================================-->		
   
  -
  +<%
  +int month = Calendar.getInstance().get(Calendar.MONTH) + 1;
  +//No idea why the day is one too many
  +int day = Calendar.getInstance().get(Calendar.DATE) - 1;
  +int year = Calendar.getInstance().get(Calendar.YEAR);
  +%>
   <div id="right">
   	
   	<table style="text-align:left">
  -		<form method="post" action="/formD">
  +		<form method="post" action="/formD" onsubmit="return confirmData();">
   			<p><h1>Time Worked Form | FORM D</h1></p>
   
   
  
positive.code: 			</tr>
  			<tr>
  				<td>Total amount of work:</td>
  				<td ><input name="AmountWorked"></input>Hours</td>
  			</tr>
  
  			<tr>
  				<td>Date:</td>
  				<td><div id='startDate'>
  						<input id='startMonth' size='5' type='number' name='StartMonth' min='01' max='12' value='9'>(MM)</input>
  						<input id='startDay' size='5' type='number' name='StartDay' min='01' max='31' step='1' value='1'>(DD)</input>
  						<input id='startYear' size='5' type='number' name='StartYear' min='2000' max='2999' step='1' value='2012'/>(YYYY)<!-- TODO make this work with current date instead of hard coding -->
  					</div>
  				</td>
  			</tr>
  			
  			<tr>
  				<td>Work details :</td>
  				<td ><textarea rows="6" cols="18" name="Details" wrap="physical"></textarea></td>
  			</tr>
  
  			<tr>
  
negative.code: <%@ page contentType="text/html; charset=UTF-8" language="java" %>
  <%@ page import="people.*" %>
  <%@ page import="serverLogic.DatabaseUtil" %>
  <%@ page import="java.util.Calendar" %>
  
  <META NAME="Yifei Zhu">
  <html>
  	<head>
  		<title>@10Dance</title>
  		
  		<script>
  			function confirmData()
  			{
  				if (document.getElementById("AmountWorked").value == "" || document.getElementById("Details").value == "")
  				{	
  					alert((document.getElementById("AmountWorked").value == "") ? "You must provide an amount of time worked." : "You must provide details for your time worked.");
  					return false;
  				}
  				var monthDays = [0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
  				var d = new Date();
  				var year = d.getFullYear();
  				
  				if (monthDays[document.getElementById("startMonth").value] < document.getElementById("startDay").value)
  				{
  					alert("Invalid day for the current starting month");
  					return false;
  				}
  				return true;
  			}
  		</script>
  		
  	</head>
  	<%
  	String netID = (String) session.getAttribute("user");
  