1
Answer

how to print month and year in given date

Vamsi Krishna

Vamsi Krishna

9y
396
1
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)