Skip to main content

system.kanoa.utilities.getStoredDateRange(self)

Gets the stored date range for the page from the session properties to make the date selector persistent across views in the current tab (page)


Parameters​

self object: Perspective session object


Returns​

selectedDateRange Dictionary i.e. {{'startDate' startDate, 'endDate' endDate, 'selectedRange' 'Today'}


Example​

selectedDateRange = system.kanoa.utilities.getStoredDateRange(self)