Top "Intervals" questions

Intervals are used to measure “distance” between values.

How to subtract 4 months from today's date?

I need to declare two dates in "Ymd" format: $toDate and $fromDate. $toDate represents today's date and $fromDate needs to …

php date intervals subtraction
How to convert an interval like "1 day 01:30:00" into "25:30:00"?

I need to add some intervals and use the result in Excel. Since sum(time.endtime-time.starttime) returns the interval …

postgresql formatting intervals
MySQL INTERVAL Mins

I am trying to get the all records which are 2 hours or more old using this query: $minutes = 60 * 2 SELECT COUNT(…

mysql intervals
Create a simple countdown in processing

I have searched up so many sites on Google to try and get this to work but NO ONE seems …

timer processing countdown intervals
MySQL DATE_ADD usage, 5 day interval

I'm trying to select the order total sum ($) and invoice count over a 5 day period in a single query. I …

mysql date intervals
Making a interval timer in Java android

I have plans to create an interval app using timers. It should just be the most basic So I'll have …

java android timer intervals
Parse and create ISO 8601 Date and time intervals, like PT15M in PHP

A library and webservice I am using communicates time-intervals in ISO 8601 format: PnYnMnDTnHnMnS. I want to convert such formats to …

php date intervals iso8601
C: How to wrap a float to the interval [-pi, pi)

I'm looking for some nice C code that will accomplish effectively: while (deltaPhase >= M_PI) deltaPhase -= M_TWOPI; …

c math floating-point intervals modulo
Timing in JS - multiple setIntervals running at once and starting at the same time?

Let's say I have a function: myFunc = function(number) { console.log("Booyah! "+number); } And I want it to run on …

javascript jquery intervals timing
In JavaScript, how can I have a function run at a specific time?

I have a website that hosts a dashboard: I can edit the JavaScript on the page and I currently have …

javascript time intervals