About 55 results
Open links in new tab
  1. What are the date formats available in SimpleDateFormat class?

    Oct 8, 2012 · Can anybody let me know about the date formats available in SimpleDateFormat class. I have gone through api but could not find a satisfactory answer.Any help is highly appreciated.

  2. how to format date using SimpleDateFormat - Stack Overflow

    Feb 20, 2015 · I cannot format a date. dateFormat.format() accepts a Date as argument. So I created a new Date() It says the below Date() method is deprecated, and I get the below exception while …

  3. Android SimpleDateFormat, how to use it? - Stack Overflow

    Sep 29, 2010 · For new readers to this question consider throwing away the long outmoded and notoriously troublesome SimpleDateFormat and friends. See if you either can use desugaring or add …

  4. date - java SimpleDateFormat - Stack Overflow

    Oct 26, 2012 · For anyone reading this question today or tomorrow I recommend you don’t use SimpleDateFormat. That class is notoriously troublesome and long outdated. Instead just use …

  5. How to parse dates in multiple formats using SimpleDateFormat

    Oct 26, 2010 · How to parse dates in multiple formats using SimpleDateFormat Asked 15 years, 3 months ago Modified 4 years, 10 months ago Viewed 150k times

  6. java - SimpleDateFormat with TimeZone - Stack Overflow

    May 4, 2009 · As an aside consider throwing away the long outmoded and notoriously troublesome SimpleDateFormat and friends, and adding ThreeTenABP to your Android project in order to use …

  7. Get day, month and year separately using SimpleDateFormat

    The accepted answer here suggests to use more than one SimpleDateFormat, but it's possible to do this using one SimpleDateFormat instance and calling applyPattern.

  8. SimpleDateFormat and locale based format string - Stack Overflow

    Nov 2, 2009 · The month part works OK if I add the locale to the SimpleDateFormat constructor, but what about the rest? I was hoping I could add format strings paired with locales to …

  9. Converting ISO 8601-compliant String to java.util.Date

    Feb 5, 2010 · SimpleDateFormat understands time zone strings like "GMT+01:00" or "+0100", the latter according to RFC # 822. Even if Java 7 added support for time zone descriptors according to ISO …

  10. java - SimpleDateFormat vs DateTimeFormatter - Stack Overflow

    Dec 17, 2021 · SimpleDateFormat vs DateTimeFormatter Asked 4 years, 1 month ago Modified 4 years, 1 month ago Viewed 11k times