Example methods for dealing with dates


function whole(){
 happytime=new Date();
 happystring=happytime.toString();
 document.a.b.value=happystring;


function day(){
 happytime=new Date();
 happyday=happytime.getDay();
 document.c.d.value=happyday;
}
Announcing day of week


function month(){
 happytime=new Date();
 happymonth=happytime.getMonth();
 document.e.f.value=happymonth;
}


function milli(){
 happytime=new Date();
 happymilli=happytime.getMilliseconds();
 document.g.h.value=happymilli;
}


function giga(){
 happytime=new Date();
 happygiga=happytime.valueOf();
 document.i.j.value=happygiga;
}