Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2013
    Rep Power

    Thumbs down How to display current date and time using system.out?

    Guys please reply. I need it badly

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power

    Default Re: How to display current date and time using system.out?

    You have some reading to do: read the API for the Calendar class and read about the format String used by the printf( ... ) method, implemented by the System.out class.

    kind regards,


    ps. I changed your topic title because the forum software choked on it (don't ask why, it can't handle the word 'print' in the title)
    The only person who got everything done by Friday was Robinson Crusoe.

Similar Threads

  1. Replies: 5
    Last Post: 02-16-2012, 10:26 AM
  2. Replies: 1
    Last Post: 08-16-2010, 10:49 AM
  3. How to display date & time on GUI?
    By BluXit in forum New To Java
    Replies: 5
    Last Post: 05-26-2010, 11:33 AM
  4. Date n Time Display problem
    By kapilverma32 in forum Advanced Java
    Replies: 6
    Last Post: 02-10-2009, 02:53 PM
  5. how to get the current date and time
    By valery in forum New To Java
    Replies: 1
    Last Post: 08-03-2007, 06:05 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