How doesn't it work?

Did you enter start/end dates in 2 cells and reference them? Or did you try entering dates directly into the formula?