Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2013
    Posts
    5
    Rep Power
    0

    Red face Display date and time program . I need code.

    Can u guys post a program that prints the date and time out on the screen.Please

  2. #2
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,309
    Blog Entries
    7
    Rep Power
    20

    Default Re: Display date and time program . I need code.

    Check out how a PrintStream (such as System.out) can print a date/time notion, such as Date, Calendar and even a long (as returned by System,currentMillis()).

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    Join Date
    Dec 2013
    Posts
    5
    Rep Power
    0

    Default Re: Display date and time program . I need code.

    tnks it worked

Similar Threads

  1. How to display current date and time using system.out?
    By shaunythesheep in forum New To Java
    Replies: 1
    Last Post: 12-18-2013, 08:29 PM
  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. java program to display BIOS date
    By synclenovo in forum Advanced Java
    Replies: 4
    Last Post: 03-28-2009, 05:21 PM
  5. Date n Time Display problem
    By kapilverma32 in forum Advanced Java
    Replies: 6
    Last Post: 02-10-2009, 01:53 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
  •