Hi guys, how are you?
Guys, I need some help.
I'm working on an application, where the user enters two dates through two date pickers because I use these dates as parameters to perform a query.
The need now arose to create a bar graph that will show the trend of this information and for this I need to calculate the difference between the dates entered by the user. And in addition, once the interval is calculated and I divide this number of days by the number of bars that I will plot, I always need to add the starting date with the value of the interval between days to make the request. For example: the user enters an end date = 2024-01-31 and a start date = 2024-01-01, in this case if I use 5 bars I have to make requests every 6 days. Is there a node within the platform that can help me with this?
Thanks in advance.
The date format is the same as below: