About 959,000 results
Open links in new tab
  1. Convert Date/Time for given Timezone - java - Stack Overflow

    Oct 6, 2011 · FYI, the troublesome old date-time classes such as java.util.Date, java.util.Calendar, and java.text.SimpleDateFormat are now legacy, supplanted by the java.time classes built into …

  2. Java Date vs Calendar - Stack Overflow

    FYI, the troublesome old date-time classes such as java.util.Date, java.util.Calendar, and java.text.SimpleDateFormat are now legacy, supplanted by the java.time classes. Much of the …

  3. How to get the current date/time in Java - Stack Overflow

    Mar 3, 2011 · Calendar.getInstance() gives you a Calendar object initialized with the current date / time, using the default Locale and TimeZone. Other overloads allow you to use a specific …

  4. Java Date cut off time information - Stack Overflow

    Dec 15, 2009 · I have a Java Date object containing date and time information. I want to write a method that cuts off the time information, truncates the hours-minutes-seconds, so I only have …

  5. c# - DateTimePicker: pick both date and time - Stack Overflow

    Sep 18, 2008 · To use the DateTimePicker for times, set the Format property to either Time or Custom (Use Custom if you want to control the format of the time using the CustomFormat …

  6. How to create new Date in Groovy at specific date and time

    Apr 3, 2014 · I wonder if there is other way how to create new Date in Groovy at specific date and time than parse it from String with Date.parse method. Can I get complete list of Date creation …

  7. How do I create a date picker in tkinter? - Stack Overflow

    Dec 14, 2010 · As a Tkinter newbie, I needed more hand-holding. My complaints: Assuming I want the calendar to default to a 2012 date rather than today's date, Not returning the result as …

  8. How do I get a Date without time in Java? - Stack Overflow

    Feb 19, 2011 · 121 Do you absolutely have to use java.util.Date? I would thoroughly recommend that you use Joda Time or the java.time package from Java 8 instead. In particular, while Date …

  9. How to set time to a date object in java - Stack Overflow

    FYI, the terribly troublesome date-time classes such as java.util.Date, java.util.Calendar, and java.text.SimpleDateFormat are now legacy, supplanted by the java.time classes built into …

  10. Calendar date to yyyy-MM-dd format in java - Stack Overflow

    Sep 25, 2012 · By the way, that format of your input string is a standard format, one of several handy date-time string formats defined by ISO 8601. Both Joda-Time and java.time use ISO …