• Post Reply Bookmark Topic Watch Topic
  • New Topic

Converting Text to Date and Back

 
Kerry Shannon
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are creating a time entry payroll page, so converting a text string (8:00A, 12:15P, 6:45A, etc.) to store into a DB as a combination of that date with that time is our challenge. We are using JSPs and servlets.
We will display days in rows, so the date (2001-05-23) is not the problem. Converting the string into the time is the question.
Also, converting it back from the db to a string to display is also a question.
Suggestions?
 
Kerry Shannon
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any suggestions?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!