I need to eval time in hours between now and earliest time from timepicker to use it in search.
e.g. if timepicker set to “last 24 hours” - evaluated time should be 24h, for “last 2 days” - 48h, etc. Thank you!
You can try
info_min_time = The earliest time boundary for the search. info_max_time = The latest time boundary for the search.
Please check below link for time picker label.