About 16,600,000 results
Open links in new tab
  1. How do I query for all dates greater than a certain date in SQL …

    where A.Date >= '2010-04-01' it will do the conversion for you, but in my opinion it is less readable than explicitly converting to a DateTime for the maintenance programmer that will come after you.

  2. bash - YYYY-MM-DD format date in shell script - Stack Overflow

    I tried using $(date) in my bash shell script, however, I want the date in YYYY-MM-DD format. How do I get this?

  3. Pandas 'astype' with date (or datetime) - Stack Overflow

    Apr 21, 2020 · df = df.astype({'date': 'datetime64[ns]'}) worked by the way. I think that must have considerable built-in ability for different date formats, year first or last, two or four digit year. I …

  4. What is this date format? 2011-08-12T20:17:46.384Z

    Aug 12, 2011 · java.text.ParseException: Unparseable date: "2011-08-12T20:17:46.384Z" I think I should be using SimpleDateFormat for parsing, but I have to know the format string first.

  5. .net - Is there a Date-only data type in C#? - Stack Overflow

    I am working on a program that requires the date of an event to get returned. I am looking for a Date, not a DateTime. Is there a datatype that returns just the date?

  6. Convert date to datetime in Python - Stack Overflow

    Dec 21, 2009 · Is there a built-in method for converting a date to a datetime in Python, for example getting the datetime for the midnight of the given date? The opposite conversion is …

  7. How to check whether an object is a date? - Stack Overflow

    Detecting a Date type object (as opposed to a plain Object or a string) and validating an object you expect to be a Date are two different tasks. There are a number of situations where the …

  8. how do I query sql for a latest record date for each user

    To get the latest record date along with the corresponding value for each user, you can use a subquery or a common table expression (CTE) in SQL. Here’s a solution using a CTE (if your …

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

    Sep 22, 2009 · This Java SE 8 Date and Time document has a good overview about it. So in Java 8 something like below will do the trick (to format the current date/time), LocalDateTime.now() …

  10. LocalDate to java.util.Date and vice versa simplest conversion?

    Oct 11, 2015 · Keep in mind that a java.util.Date is a misnomer as it represents a date plus a time-of-day, in UTC. In contrast, the LocalDate class represents a date-only value without time …