Date range
Log in to add to favouritesThe date range object represents a start and end point in time.
Properties
Name | Type | Format | Description |
---|---|---|---|
from | datetime | The date and time the range starts | |
to | datetime | The date and time the range ends |
Validation
The from value cannot be greater than the to value.
Example
ContensisClient.entries.get('<entry_id>').then(function (entry) {
console.log(entry.myDateRange.from);
console.log(entry.myDateRange.to);
});