About 89 results
Open links in new tab
  1. 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?

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

    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 …

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

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

  5. sql - How to insert date values into table - Stack Overflow

    Dec 17, 2015 · In Oracle '2018-10-20' is a string, not a date. You must explicitly convert the string into date using TO_DATE with appropriate format mask or use ANSI date literal which uses …

  6. Format date and time in a Windows batch script - Stack Overflow

    In a Windows (Windows XP) batch script I need to format the current date and time for later use in files names, etc. It is similar to Stack Overflow question How to append a date in batch fil...

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

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

  9. How do I format a Microsoft JSON date? - Stack Overflow

    I'm taking my first crack at Ajax with jQuery. I'm getting my data onto my page, but I'm having some trouble with the JSON data that is returned for Date data types. Basically, I'm getting a …

  10. windows - How to get date in BAT file - Stack Overflow

    Oct 2, 2013 · I need to get today date in Window *.bat file. After it I would like to get day, month and year. How can I do this? I can't use PowerShell