Can someone show me a piece of java code that parses this date:
2009-08-05
INTO THIS GMT DATE:
2009/217:00:00
====
what i have so far is:
Here is the format you're looking for:
Date date = new SimpleDateFormat("yyyy-MM-dd").parse("2009-08-05"); String parsedDate = new SimpleDateFormat("yyyy/D:HH:mm").format(date);