Short Name: Date
Definition: Given an index, or an array of index, returns the corresponding date
Usage: date(num) or date(array)
Objective:
- Used mainly in coordination with logResult, to record a real date rather than an index
Note:
- Does return a value if the parameter is a value, or an array if the parameter is an array
Examples:
- date(0) returns the date of the most recent data
- date(1) returns the date of the day before the most recent
- date(array), assuming array is a set of numeric index, returns an array with the corresponding dates