PDA

View Full Version : java scripit


nany
03-07-2006, 04:31 PM
Hi folks I am new to java, I need to write a program to display the day, date & time. The abstract class Calendar has a static method getInstance that returns a Calendar object holding the current day, date & time.

e.g. Calendar now = Calendar.getInstance();

Thanks
Pls help?

_Aerospace_Eng_
03-07-2006, 05:36 PM
This is the javascript forum not the java forum. Java and javascript are two totally different languages.

Philip M
03-07-2006, 05:36 PM
This forum is devoted to JavaScript, which is not at at all the same language as Java, in spite of the confusingly similar names.

But in any case I doubt if anyone will be motivated to write code for you unless you show that you have put in some effort yourself.

Sounds like a homework assignment as well.