system.kanoa.utilities.getDateRange
Description
Returns predefined date ranges (kanoaCore).Syntax
getDateRange(paramsDict)- paramsDict (Dictionary) - A dictionary containing 'selectedDateRange' and 'clientTZOffset' values.
- startDate (Datetime) - The start date of the selected range.
- endDate (Datetime) - The end date of the selected range.
Code Example
# Example Usage:
date_range = system.kanoa.utilities.getDateRange({'selectedDateRange': 'Today', 'clientTZOffset': 0})