How to create afolder based on month,year,Day?
l_strPath = l_strfinishPdffilePath + l_strYear;
if(!Directory.Exists(l_strPath))
{
Directory.CreateDirectory(l_strPath);
}
l_strPath = l_strPath + "/" + l_strMonth;
if(!Directory.Exists(l_strPath))
{
Directory.CreateDirectory(l_strPath);
}
if(!Directory.Exists(l_strPath))
{
l_strPath = l_strPath + "/" + l_strDay;
}
Iam not able to split the month and Year..Pls answer me if anyone knows it..

