I try to do this to get the days from a certain date depending on my data length : code
But the result is this : result