Results 1 to 8 of 8
Thread: parsing date problem
- 05-21-2010, 12:00 PM #1
Member
- Join Date
- May 2010
- Posts
- 5
- Rep Power
- 0
- 05-21-2010, 12:18 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,406
- Blog Entries
- 7
- Rep Power
- 17
- 05-21-2010, 12:45 PM #3
- 05-21-2010, 12:48 PM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,406
- Blog Entries
- 7
- Rep Power
- 17
- 05-21-2010, 01:01 PM #5
ok, if the T is omitted, you can simply use
Java Code:String dd = "2006-10-20 1350"; DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HHmm"); Date date = (Date)formatter.parse(dd);
-
Double post locked. OP, please do not double post the same question in multiple fora.
- 05-21-2010, 02:02 PM #7
Member
- Join Date
- May 2010
- Posts
- 5
- Rep Power
- 0
ok & thank u all
- 05-21-2010, 02:06 PM #8
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,406
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
parsing date
By jackjosh_in in forum New To JavaReplies: 2Last Post: 05-21-2010, 01:07 PM -
Parsing Problem in Java
By vidya in forum Advanced JavaReplies: 4Last Post: 02-01-2010, 03:48 PM -
Parsing Problem in Java
By vidya in forum New To JavaReplies: 2Last Post: 02-01-2010, 01:52 PM -
problem in parsing sequence diagram using emf
By Saniya in forum EclipseReplies: 0Last Post: 06-28-2008, 04:54 AM -
parsing problem
By Pooja Deshpande in forum Advanced JavaReplies: 4Last Post: 05-29-2008, 01:59 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks