Top "Date-range" questions

Date-range refers to a range of dates, i.e. a period of time between a start date and an end date.

PHP: Return all dates between two dates in an array

Expected Input: getDatesFromRange( '2010-10-01', '2010-10-05' ); Expected Output: Array( '2010-10-01', '2010-10…

php datetime date-range
Javascript - get array of dates between 2 dates

var range = getDates(new Date(), new Date().addDays(7)); I'd like "range" to be an array of date objects, one for …

javascript node.js date datetime date-range
How to check if a date is in a given range?

If you have a $start_date and $end_date, how can you check if a date given by the user …

php date date-range
How to know if a DateTime is between a DateRange in C#

I need to know if a Date is between a DateRange. I have three dates: // The date range DateTime startDate; …

c# .net datetime date-range
Loop through a date range with JavaScript

Given two Date() objects, where one is less than the other, how do I loop every day between the dates? …

javascript loops date iteration date-range
SQL Server : fetching records between two dates?

In SQL I write a SELECT statement to fetch data between two dates, using between and Ex: select * from xxx …

sql-server datetime date-range
MySQL query to select events between start/end date

I have a MySQL table named 'events' that contains event data. The important columns are 'start' and 'end' which contain …

mysql sql date date-range
Date range picker on jquery ui datepicker

I created a date range picker using jquery ui where you can use the same inline calendar to make both …

javascript jquery jquery-ui jquery-ui-datepicker date-range
Grep inside all files created within date range

I am on the Ubuntu OS. I want to grep a word (say XYZ) inside all log files which are …

linux ubuntu find grep date-range
SQL join against date ranges?

Consider two tables: Transactions, with amounts in a foreign currency: Date Amount ========= ======= 1/2/2009 1500 2/4/2009 2300 3/15/2009 300 4/17/2009 2200 etc. ExchangeRates, with the value of the primary …

sql sql-server tsql join date-range