• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Date and Drop down box  RSS feed

 
visu Nekk
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,


I have a problem when retrieving data from the database.When i send data to the database,i concatenate three fields of date and store it as a date format in database.Similary i do the same with the data in two drop down boxes.But when i retieve the data i get it as a single unit.Can anyone help me out with how to get it back into three text fields for data and 2 drop down lists when i retrieve the data.

Thanx in advance.
 
Maximilian Xavier Stocker
Ranch Hand
Posts: 381
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at java.text.SimpleDateFormat
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 36656
475
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Visu,
You can also use Calendar.get(Calendar.YEAR) and the like.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!