Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > compose date

Reply
Thread Tools

compose date

 
 
[XaToA]
Guest
Posts: n/a
 
      08-08-2003
Hello i have this:
String s = "23/08/2003";

bur i must tu insert this value into one database but the field is in
timestamp format.
I think that i must to convert s (String) to timestamp but i dont know how
can i make this.

Please can you help me to put this value into one timestam database field?

thanks


 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      08-08-2003
On Fri, 8 Aug 2003 02:34:06 +0200, "[XaToA]"
<batarrita_NOSPAM_@excite.com> wrote or quoted :

>Please can you help me to put this value into one timestam database field?


You need SimpleDateFormat.parse.

See http://mindprod.com/jgloss/calendar.html

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
thunderbird 1.5 message compose error steve Firefox 7 04-03-2006 03:49 PM
Mail/Compose sallyrsecret@yahoo.com Firefox 2 05-07-2005 03:28 PM
No compose key for me? Kilian A. Foth Firefox 0 05-04-2005 12:11 PM
Date, date date date.... Peter Grison Java 10 05-30-2004 01:20 PM
Compose and smileys? Jukka_Mannonen Firefox 10 04-28-2004 03:10 AM



Advertisments