About 110,000 results
Open links in new tab
  1. javascript - How to add days to Date? - Stack Overflow

    Feb 19, 2009 · How to add days to current Date using JavaScript? Does JavaScript have a built in function like .NET's AddDay()?

  2. DATEADD (MONTH, DATEDIFF (MONTH, 0, GETDATE ()), 0) Can …

    The DATEADD function adds an interval to a date you specify. For example, if the due dates of all orders in the SalesOrderHeader table slipped 3 days, you could obtain the new dates with the …

  3. sql - How to change the timestamp DATEADD (DAY, -1, DATEADD

    How to change the timestamp DATEADD (DAY, -1, DATEADD (MONTH, DATEDIFF (MONTH, 0, GETDATE ()), 0)) to return 23:59:59.000 instead of 00:00:00.000 Asked 5 years, 3 months ago

  4. sql - Is there a way to use the dateadd () in the where clause in a ...

    Nov 6, 2015 · You don't need to use the apostrophe around the d: dateadd('d', 1, '2015-05-31'). You can write the statement as where DATE between '2015-05-01' and dateadd(d, 1, '2015-05-31').

  5. sql - How can I use a column's values for DATEADD ()'s datepart ...

    Nov 9, 2023 · SELECT *, DATEADD(Interval, Increment, Latest_Appointment_Date) FROM #Dummy I get the error 'Interval' is not a recognized dateadd option Any insight would be great. Thank you. I'm …

  6. sql - Using DATEADD with bigints - Stack Overflow

    Just do the problematic DATEADD in two steps, starting with a coarser time unit (seconds, minutes, hours etc.), then dropping back to the fine grained one for the remainder.

  7. How to add minutes to the time part of datetime - Stack Overflow

    DATEADD(minute,@increase,@shift_start_time) the first argument can be chosen among: year quarter month dayofyear day week weekday hour minute second millisecond microsecond nanosecond

  8. What is different between DATEADD (DAY, 1, GETDATE ()) and DATEADD

    Sep 11, 2018 · What is different between DATEADD (DAY, 1, GETDATE ()) and DATEADD (DAY, 1, DATEDIFF (DAY, 0, GETDATE ())) Could someone help to show example case, how to use them?

  9. Add one day to date in javascript - Stack Overflow

    var startDate = new Date(Date.parse(startdate)); //The start date is right lets say it is 'Mon Jun 30 2014 00:00:00' var endDate = new Date(startDate.getDate() + 1); // the enddate in the console will be …

  10. Manipulating DATEADD to display date in correct format

    Jan 14, 2015 · I have tried numerous times to make this work but I can't seem to get it to work, I tried to incorporate the DATEADD into the following SQL statement but couldn't get it to run!