Good day Gentl'men!

I just need a little help for date is the criteria.. I have two date picker, dtfrom.value & dt2.value, and a variable called "viewtype"..
**if viewtype="monthly"
, I want to create a listview column base on fromdate.value & todate.value..Example, if fromdate.value="12/24/2012" and to.value="06/31/2013", I want to create a column in listview from 12/24/2012 upto 06/31/2013. So six column will be created..

if viewtype="weekly" or viewtype="annually" or viewtype="semi-annually" same procedure will happen!

Thank you for helping!