DCS addPeriod

From Catglobe Wiki
Revision as of 08:34, 12 December 2011 by Cg pham (talk | contribs)
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