ok, yes this is a homework help question, and no i don't want just the answer. i actually really want to learn this.
Ok, so I have to the simple date format that displays today's date in "week day month day, year)
so here is what i got:
import java.text.*; //for SimpleDateFormat
import java.util.*; // for Date
public class date {
public static void main(String[] args) {
date today;
today= new date();
[COLOR="Red"]sdf[/COLOR] = new SimpleDateFormat ("EEEE MMMM DD, YYYY");
System.out.println("Today is" + sdf.format(today));
/**
* @param args
*/
// TODO Auto-generated method stub
}
}
ok, so it looks pretty good, excpet that stinkin java won't read the "sdf". So i don't know what i am doing wrong with it. Any help or tips would be greatly appriciated.
Remember, i am not looking just for the answer, i really do want to learn this stuff.