About 14,200,000 results
Open links in new tab
  1. What is the standard way to add N seconds to datetime.time?

    Sep 19, 2008 · You can use full datetime variables with timedelta, and by providing a dummy date then using time to just get the time value. For example: import datetime a = …

  2. How to add 30 minutes to a JavaScript Date object?

    Jul 29, 2009 · I'd like to get a Date object which is 30 minutes later than another Date object. How do I do it with JavaScript?

  3. Wait 5 seconds before executing next line - Stack Overflow

    This function below doesn’t work like I want it to; being a JS novice I can’t figure out why. I need it to wait 5 seconds before checking whether the newState is -1. Currently, it doesn’t wait, i...

  4. How to add hours to a Date object? - Stack Overflow

    2 You can add hours to a date object by adding that many milliseconds: function addHours(date, hours) { return new Date(date.getTime() + hours * (60 * 60 * 1000)); } The function provided …

  5. How to add time to DateTime in SQL - Stack Overflow

    Jul 3, 2013 · HOW_MANY_MINUTES is the interval by which we need to add minutes, if it is specified negative, time will be subtracted, else would be added to the TO_WHICH_TIME …

  6. c# - How to add a delay for a 2 or 3 seconds - Stack Overflow

    How to add a delay for a 2 or 3 seconds [closed] Asked 14 years, 7 months ago Modified 5 years, 10 months ago Viewed 820k times

  7. Oracle: how to add minutes to a timestamp? - Stack Overflow

    I need to add 30 minutes to values in a Oracle date column. I do this in my SELECT statement by specifying to_char(date_and_time + (.000694 * 31) which works fine most of the time. But not …

  8. How to add delta to python datetime.time? - Stack Overflow

    Sep 16, 2012 · Here is a function that adds a timedelta to a time: def time_plus(time, timedelta): start = datetime.datetime( 2000, 1, 1, hour=time.hour, minute=time.minute, …

  9. How to add time to the current timestamp in Ansible?

    Nov 23, 2021 · 4 I am attempting to automate a few tasks in Ansible and while I've gotten everything else to work, I need to have a start_time and end_time variable that adds time to …

  10. python - Add time to datetime - Stack Overflow

    Jul 4, 2015 · Add time to datetime Asked 10 years, 3 months ago Modified 2 years, 1 month ago Viewed 24k times