Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Advanced-java] Date
- From: karenshiau@xxxxxxxxxx (Karen Shiau)
- Subject: [Advanced-java] Date
- Date: Thu, 28 Mar 2002 14:38:45 -0500
I have a file which contains Date in Date Format, e.g., "Thu Mar 28 13:05:55 EST 2002"; however, it is a String. How can I convert it back to become Date or java.sql.Timestamp object again? I tried, DateFormat.getInstance().parse(xxx) Timestamp.valueOf(xxx) But both cases throw Exception. Any suggestion? ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag
- Prev by Date: [Advanced-java] java.lang.LinkageError
- Next by Date: [Advanced-java] Date
- Previous by thread: [Advanced-java] How can i get the system dependent Line Sperator property ?
- Next by thread: [Advanced-java] Date
- Index(es):