Page 2 of 2 FirstFirst 12
Results 21 to 23 of 23
Like Tree2Likes

Thread: Java Date input from User,

  1. #21
    Shahnawaz is offline Member
    Join Date
    Sep 2011
    Posts
    20
    Rep Power
    0

    Default Re: Java Date input from User,

    except for one thing.. what if i want to print the date as: june 21 2011.
    what do i change then...?

  2. #22
    Shahnawaz is offline Member
    Join Date
    Sep 2011
    Posts
    20
    Rep Power
    0

    Default Re: Java Date input from User,

    by the way.. ur suggestions have been quite helpful; Thanks! :)

  3. #23
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,800
    Rep Power
    7

    Default Re: Java Date input from User,

    Go to the Java API and look at the SimpleDateFormat class. It will explain all the various symbols you can use in a format.
    Shahnawaz likes this.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Taking user input as a date and validation!
    By Junki3JJC in forum New To Java
    Replies: 3
    Last Post: 03-29-2011, 02:28 PM
  2. Replies: 5
    Last Post: 03-23-2011, 11:28 PM
  3. Replies: 6
    Last Post: 03-01-2010, 08:00 AM
  4. How do I validate user input from forms with Java?
    By rickywh in forum New To Java
    Replies: 2
    Last Post: 01-30-2010, 07:49 AM
  5. Compare date input to database with current date
    By hungleon88 in forum Advanced Java
    Replies: 2
    Last Post: 11-25-2008, 09:10 AM

Posting Permissions

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