About 22,000,000 results
Open links in new tab
  1. windows - What does %date:~-4,4%%date:~-10,2%%date:~ …

    Mar 22, 2016 · The above command line defines an environment variable with name fileName starting with fixed string db_, appending with %date:~-4,4% the last four characters of the current locale date …

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

    Mar 21, 2025 · 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?

  3. How do I query for all dates greater than a certain date in SQL Server ...

    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.

  4. 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 easy: datetime …

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

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

  6. Delete all old emails after a certain date - Gmail Community

    Sep 7, 2023 · Delete all old emails after a certain date I have too many emails. How do I delete all those older than a certain date? I haven't tried anything because I can't keep selecting and deleting 10,000 …

  7. date = new Date (); date.valueOf () vs Date.now () - Stack Overflow

    new Date().getTime() Functionally equivalent to new Date().valueOf() Date.now() Functionally equivalent to the 2 methods above As mentioned in the comments and MDN links, Date.now() is not supported …

  8. Keep only date part when using pandas.to_datetime

    Just giving a more up to date answer in case someone sees this old post. Adding "utc=False" when converting to datetime will remove the timezone component and keep only the date in a datetime64 …

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

    Aug 12, 2011 · The legacy Date-time API The legacy Date-time API (java.util Date-Time API and their formatting API, SimpleDateFormat) are outdated and error-prone. It is recommended to stop using …

  10. python - How do I convert a datetime to date? - Stack Overflow

    Sep 18, 2010 · How do I convert a datetime.datetime object (e.g., the return value of datetime.datetime.now()) to a datetime.date object in Python?