java Date


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: java Date

  1. #1
    styles Guest

    java Date


    Can anyone help me how to write a java function that returns the date of any
    day a week or 2 ahead of the current date/day.Thanks in advance.

    styles.

  2. #2
    Paul Clapham Guest

    Re: java Date

    GregorianCalendar g = new GregorianCalendar() // g = NOW
    g.add(Calendar.DATE, 7) // adds 7 days

    and like that.

    PC2

    "styles" <masterp@juventusfan.com> wrote in message
    news:3ad4228c$1@news.devx.com...
    >
    > Can anyone help me how to write a java function that returns the date of

    any
    > day a week or 2 ahead of the current date/day.Thanks in advance.
    >
    > styles.




  3. #3
    styles Guest

    Re: java Date


    Thank you so much Paul Clapham.
    styles.


    "Paul Clapham" <pclapham@core-mark.com> wrote:
    >GregorianCalendar g = new GregorianCalendar() // g = NOW
    >g.add(Calendar.DATE, 7) // adds 7 days
    >
    >and like that.
    >
    >PC2
    >
    >"styles" <masterp@juventusfan.com> wrote in message
    >news:3ad4228c$1@news.devx.com...
    >>
    >> Can anyone help me how to write a java function that returns the date

    of
    >any
    >> day a week or 2 ahead of the current date/day.Thanks in advance.
    >>
    >> styles.

    >
    >



  4. #4
    stylishly Guest

    Re: java Date


    "styles" <masterp@juventusfan.com> wrote:
    >
    >Can anyone help me how to write a java function that returns the date of

    any
    >day a week or 2 ahead of the current date/day.Thanks in advance.
    >
    >styles.



    I have got absolute no idea
    as I am still messing about the database connection
    some sample prog can deal with every type
    except date

    my problem, + your problem make us nuts

    you are very welcome


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center