I want create a list that contains all the days between day1 and day2. So far I have no idea how to do this in elixir. sorry if there is already a topic for this, I couldn’t find any so please reference it to me if there is.
1 Like
Date.range(from, to) |> Enum.to_list()
2 Likes
thanks, I feel dumb now that there was a range function for this and I couldn’t find it .