I have to count no of trees planted in which month. What date time formula need to be used.,
that depends entirely on your data.
Can you please provide a mock up of your data and what you want to achieve?
M.
This sounds vaguely like an exam question - if so... watch out for @mceleavey 's meme game...