Results 1 to 2 of 2

Thread: Calendar.DATE

  1. #1
    mew is offline Member
    Join Date
    Nov 2007
    Rep Power

    Default Calendar.DATE

    I want to get the current data using Calendar class. I tried the following and got an integer as output which was not the current date.

    Java Code:
    Where I went wrong.

    - mew mew mew

  2. #2
    roots's Avatar
    roots is offline Moderator
    Join Date
    Jan 2008
    Rep Power


    Java Code:
    I suggest either you go manually over java docs or use ide like Eclipse and netbeans that allows you see the java docs. If you see java docs for Calender.DATE you will get the answer ..
    dont worry newbie, we got you covered.

Similar Threads

  1. java.util.Date vs java.sql.Date
    By Jack in forum New To Java
    Replies: 5
    Last Post: 10-28-2010, 02:59 PM
  2. calendar
    By John in forum SWT / JFace
    Replies: 12
    Last Post: 08-07-2008, 10:54 PM
  3. Difference between current date and anothe date
    By vijay balusamy in forum New To Java
    Replies: 1
    Last Post: 04-16-2008, 04:15 PM
  4. java Date and Calendar
    By valoyivd in forum New To Java
    Replies: 1
    Last Post: 03-30-2008, 06:49 PM
  5. Web calendar
    By Daniel in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 06-27-2007, 05:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts