DCS addPeriod: Difference between revisions
From Catglobe Wiki
More actions
No edit summary  | 
				No edit summary  | 
				||
| Line 1: | Line 1: | ||
[[Category:Data_Cache_Functions]]  | [[Category:Data_Cache_Functions]]  | ||
  | {{HelpFiles}}  | ||
====DCS_addPeriod====  | ====DCS_addPeriod====  | ||
Revision as of 07:34, 12 December 2011
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