Vamsi Krishna

Vamsi Krishna

  • 1.2k
  • 199
  • 18k

how to print month and year in given date

Nov 4 2015 8:40 AM
Hi
 I have two dates like
datetime startpaidmonthyear  =2014/05/30---start date
datetime  lastpaidmonthyear =2015/10/25---end date
 
i want to print month and year from start date to end date  like  
may-2014 
june-2014  
July-2014  
August-2014 
.
.
.
.
sep-2015
 please help me
 
 
 

Answers (1)