Description:
An object which represents a span of time with specific start and end dates.
  | 
Properties:
Argument  | 
Type  | 
Description  | 
Start  | 
DateTime  | 
The start of the date range.  | 
End  | 
DateTime  | 
The end of the date range.  | 
Span  | 
TimeSpan  | 
The time span represented by this date range.  | 
Days  | 
Numeric  | 
The number of days within this date range. (Shorthand to accessing Span.Days)  | 
Methods:
Argument  | 
Returns  | 
Description  | 
InPeriod  | 
TimeSpan  | 
Gets the portion of the date range which falls within the specified period, in elapsed time units.  | 
FractionInPeriod  | 
Numeric  | 
Gets the fraction of the date range which falls within a specified period; a number from 0 to 1.0  | 
DaysInPeriod  | 
Numeric  | 
Gets the number of days in the date range which falls within a specified period.  | 
Example:
Create a date range representing the period from Jun 10 2009 until July 27 2009.
Expression  | 
Result  | 
DateRange(Date(2009,6,10), Date(2009,7,27))  | 
6/10/2009 12:00:00 AM - 7/27/2009 12:00:00 AM  | 
Get the number of days in the above period.
Expression  | 
Result  | 
DateRange(Date(2009,6,10), Date(2009,7,27)).Days  | 
47  |