Skip to main content
55 events
when toggle format what by license comment
Sep 18 at 17:49 comment added Basil Bourque Update The Joda-Time library is now in maintenance-mode, supplanted by the java.time classes built into Java 8+.
Jun 14, 2023 at 10:27 comment added Girish what is the format of 2023-06-12T10:49:010Z, can someone help on this
Oct 30, 2022 at 21:45 answer added Arvind Kumar Avinash timeline score: 6
May 31, 2022 at 13:17 answer added VadzimV timeline score: 0
Jun 5, 2021 at 2:47 answer added Ticherhaz FreePalestine timeline score: 2
Oct 26, 2020 at 11:17 answer added mmdreza baqalpour timeline score: 11
Jul 18, 2020 at 23:51 answer added pavelety timeline score: 8
Feb 13, 2020 at 19:02 answer added Anthony timeline score: 85
Aug 30, 2019 at 8:20 answer added ddtxra timeline score: 1
May 31, 2019 at 20:20 comment added raok1997 Joda DateTime didn't support 20190531T194819Z(yyyyMMdd'T'HHmmssSSS'Z') example from en.wikipedia.org/wiki/ISO_8601 and hence added the solution below: stackoverflow.com/questions/2201925/…
May 31, 2019 at 18:56 answer added raok1997 timeline score: 2
S Jul 12, 2018 at 8:31 history suggested wittich CC BY-SA 4.0
improve formating for better reading
Jul 12, 2018 at 7:37 review Suggested edits
S Jul 12, 2018 at 8:31
Sep 13, 2017 at 11:22 answer added Daniel Winterstein timeline score: 7
Sep 2, 2017 at 20:03 history protected Youcef LAIDANI
Jul 18, 2017 at 14:57 answer added Stepan timeline score: 2
May 16, 2017 at 9:42 answer added Khang .NT timeline score: 10
Oct 19, 2016 at 7:04 answer added yinhaomin timeline score: 1
Oct 9, 2016 at 14:21 answer added ekip timeline score: 0
Apr 27, 2016 at 11:59 comment added Fabian Kleiser Java 8 makes it easy! There is a hidden gem by Adam in the answers below: stackoverflow.com/a/27479533/1262901
Jan 29, 2016 at 17:30 answer added gturri timeline score: 0
Jul 10, 2015 at 8:15 answer added Abhay Kumar timeline score: 6
Jul 6, 2015 at 11:59 comment added EpicPandaForce I found an answer that worked for me on [this particular answer][1]. [1]: stackoverflow.com/a/10615059/2413303
Jun 20, 2015 at 20:13 history edited Basil Bourque CC BY-SA 3.0
Added simpler one-line version of embedded answer.
Jun 20, 2015 at 5:01 answer added Matt Accola timeline score: 3
Jan 14, 2015 at 10:00 answer added Sergey Palyukh timeline score: 5
Dec 15, 2014 at 7:52 answer added Adam timeline score: 159
Jul 20, 2014 at 8:13 answer added Martin Rust timeline score: 6
Jul 14, 2014 at 19:31 history edited Basil Bourque CC BY-SA 3.0
Corrected names of mentioned projects and linked to them for more information.
Apr 8, 2014 at 14:20 answer added d.danailov timeline score: 35
Dec 14, 2013 at 2:25 answer added RickHigh timeline score: -2
Dec 14, 2013 at 2:14 comment added Basil Bourque The embedded answer with Joda-Time can be much shorter, a single line of code, no need to call parse method: new DateTime( "2010-01-01T12:00:00+01:00" ). See my answer for details.
Dec 14, 2013 at 1:48 answer added Basil Bourque timeline score: 78
Sep 30, 2013 at 21:50 answer added Eesha timeline score: 2
Aug 22, 2013 at 14:05 answer added tmandry timeline score: 10
Aug 13, 2013 at 19:07 answer added Anthony timeline score: 325
Jul 5, 2013 at 14:23 answer added david_p timeline score: 74
Jun 25, 2013 at 23:28 answer added Akh timeline score: -1
Apr 22, 2013 at 10:28 comment added Alexander Klimetschek Apache Jackrabbit uses the ISO 8601 format for persisting dates, and there is a helper class to parse them: org.apache.jackrabbit.util.ISO8601 Comes with jackrabbit-jcr-commons.
Oct 3, 2012 at 17:58 comment added Lars Grammel The 'X' is available since Java 7.
Sep 27, 2012 at 4:53 answer added Toby timeline score: 17
Jul 18, 2012 at 19:20 comment added mlohbihler I'm not sure when this was added, but the 'X' appears to solve this problem within SimpleDateFormat. The pattern "yyyy-MM-dd'T'HH:mm:ssX" successfully parses the example in the question.
May 16, 2012 at 15:16 answer added wrygiel timeline score: 210
Feb 28, 2012 at 10:58 history edited Tomasz Nurkiewicz CC BY-SA 3.0
deleted 39 characters in body
Apr 13, 2011 at 17:27 answer added James Scriven timeline score: 23
Nov 3, 2010 at 15:47 comment added andersoj See: stackoverflow.com/questions/1554852/… and stackoverflow.com/questions/2580925/simpledateformat-parsing and stackoverflow.com/questions/4013681/… and
Nov 3, 2010 at 15:25 history edited Tom Morris
edited tags
Feb 5, 2010 at 10:23 vote accept Ice09
Feb 5, 2010 at 10:14 history edited Ice09 CC BY-SA 2.5
deleted 15 characters in body
Feb 5, 2010 at 10:13 comment added Ice09 @jarnbjo: thanks for the comment - you might be right, I looked it up again and came up with the much better solution ISODateTimeFormat.dateTimeNoMillis(), which kind of guarantees that the correct format is used.
Feb 4, 2010 at 22:47 comment added jarnbjo @Ice09: If the API documentation for DateTimeFormat is correct (the JoDa documentation can be misleading, wrong or incomplete though), the pattern you've used in your own "answer" is not compatible with ISO8601.
Feb 4, 2010 at 18:51 answer added jarnbjo timeline score: 517
Feb 4, 2010 at 18:39 history edited Ice09 CC BY-SA 2.5
added 470 characters in body
Feb 4, 2010 at 17:54 comment added JuanZe Be ready to receive a lot of "Use JodaTime" answers...
Feb 4, 2010 at 17:52 history asked Ice09 CC BY-SA 2.5