Results 1 to 2 of 2

Thread: date problem

  1. #1
    karlkwanny is offline Member
    Join Date
    Jul 2009
    Posts
    1
    Rep Power
    0

    Default date problem

    how do i go about arranging the dates after i param from my database? according to the latest to oldest. im able to get the dates from the database but have no idea on how to arrange it. tks

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    841
    Rep Power
    6

    Default

    Hi,
    using order by u can do it in query itself know like this below

    Ex: select orderdate from table1 ORDER BY orderdate
    Ramya:cool:

Similar Threads

  1. Problem with Date Object
    By R O C K Y in forum Advanced Java
    Replies: 4
    Last Post: 02-15-2009, 04:37 PM
  2. Time-Date problem
    By teo.danciu in forum New To Java
    Replies: 5
    Last Post: 08-27-2008, 10:01 AM
  3. java new Date() problem
    By nanaji in forum Advanced Java
    Replies: 2
    Last Post: 08-04-2008, 08:08 AM
  4. problem with date class
    By gabriel in forum New To Java
    Replies: 3
    Last Post: 08-03-2007, 01:28 PM
  5. problem with date field
    By Ed in forum JDBC
    Replies: 2
    Last Post: 06-12-2007, 04:27 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
  •