What is your connection type?
If the date prompt is at interval, then you might be getting two prompts for start & end. Use two calendar components for from and to this might help you.
Or you need to take date, month & year then you need to concatenate both the start & end date then you need pass it in the prompt.