I am trying to get the current quarter from current date and store it as int first, then after i get the current quarter like say it is Q1 then i want to store Q1 as string. I am getting an error that reads like this: unassigned local variable dt. . Please help. thanks
DateTime dt;
int quarterNumber = (dt.Month - 1) / 3 + 1;