DCS addPeriod

From Catglobe Wiki
Revision as of 10:13, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



DCS_addPeriod

Add a period of time to a questionnaire cache's time frame

Syntax

DCS_addPeriod(fromDate,toDate)

Arguments

  • fromDate: is an array, it must follow the format of what generated by getDateTime function
  • toDate: is an array, it must follow the format of what generated by getDateTime function

Return type

None

Examples

array start = {2008, 1, 24, 0, 0, 0, 0, 4, 63};

array end = {2008, 1, 25, 0, 0, 0, 0, 4, 63};

DCS_addPeriod(start, end);

Availability

Version 5.5