Hey again,
Im seriosly having difficulty displaying the current date and time in java/jsp. THis is the code im using to get the date and time:
public static void main(String args[])
{
Date date=new Date();
SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yy");
String strDate = sdf.format(date);
System.out.println(""+strDate);
}
but nothing seems to be displaying at all. Am i forgetting something do i still need include something? Please please help!
Thanks