This question already has an answer here:
- Range of Dates (1999-01 — 2012-12)? 3 answers
What is a correct way of writing a date interval?
a) Jun 2010 -- Aug 2012 b) Jun 2010--Aug 2012 c) Jun 2010 - Aug 2012 d) Jun 2010-Aug 2012 c) other?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
The three of them produce a different output, as each one is little larger than the other.
For dates it depends on what format you are using, and I'm not aware of any "restrictions" about what to use, but personally I believe you should go with whatever looks best for you.