I'm getting the current month and year from the dateTime and passing it to a string. The reason for this is, in my directory there has to be a folder for the current year and month - this is done in order for video uploading quantity. This is what I currently have:
string month = Convert.ToString(DateTime.Today.Month);
string Year = Convert.ToString(DateTime.Today.Year);
UploadStatusLabel.Text = Year + "\\" + month;
//New Directory Name in string variable
string NewDirectory = Server.MapPath("~\\uploads\\" + Year + "\\" + month);
//Calling the function to create new directory
CreateDirectoryIfNotExists(NewDirectory);
All this works, but the problem is, is that month displays at 5 which is correct, but I need it to display May. How do I do this?