Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: How to print the day of the week from user input?

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Thanked 0 Times in 0 Posts

    Default How to print the day of the week from user input?

    Hi I'm new to java... I've been trying to figure out how to print the day of the week from user input..not going well. I wrote in Java to calculate the numbers of days passed since the beginning of 19th century, and need to figure out the day (i got the date down). Any help would be appreciated!
    Last edited by f0x; October 29th, 2011 at 14:49.

  2. #2
    Join Date
    Oct 2011
    My Mood
    Thanked 1 Time in 1 Post

    Default Re: How to print the day of the week from user input?

    Provide the code you already written like
    [highlight=java] <yourCodeHere> [/highlight]
    . This way we can tell your what's good, what's wrong and what's to be added/modified.

    application context
    Last edited by daniel.j2ee; December 13th, 2011 at 15:57.

  3. #3
    Grand Poobah
    Join Date
    Mar 2011
    My Mood
    Thanked 171 Times in 162 Posts

    Default Re: How to print the day of the week from user input?

    Are you allowed to use the Calendar class?
    Improving the world one idiot at a time!

Similar Threads

  1. Valid user input
    By ChristopherLowe in forum Java Programming Tutorials
    Replies: 1
    Last Post: June 21st, 2011, 16:53
  2. User Input File Name
    By PineAppleKing in forum Java Theory & Questions
    Replies: 12
    Last Post: June 3rd, 2011, 10:23
  3. [SOLVED] Help with getting user input for my factorial method
    By u-will-neva-no in forum What's Wrong With My Code?
    Replies: 2
    Last Post: April 4th, 2011, 13:24
  4. User Input Loop
    By cfmonster in forum Loops & Control Statements
    Replies: 7
    Last Post: August 24th, 2009, 13:52