About 2,560,000 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 …

  2. 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 …

  3. 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 …

  4. 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 …

  5. 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 …

  6. How to convert a String to a Date using SimpleDateFormat?

    Sep 13, 2015 · Now the notoriously troublesome SimpleDateFormat class is long outdated and we have so much better in java.time, the modern Java date and time API. I warmly …

  7. How to parse dates in multiple formats using SimpleDateFormat

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

  8. 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 …

  9. How to get the current time in YYYY-MM-DD …

    Sep 22, 2009 · The question and the accepted answer use java.util.Date and SimpleDateFormat which was the correct thing to do in 2009. In Mar 2014, the java.util date-time API and their …

  10. Get Date Object In UTC format in Java - Stack Overflow

    I have written following code. I want to get Date object in UTC format. I am able to get expected date string in UTC using SimpleDateFormat. But using same SimpleDateFormat object, I am …