Hi,
If you have varchar datatype to store your data, you need to parse your date and covert it into DateTime and then you can get your desired part from the datetime.
like,
DateTime myDateTime = DateTime.Parse("yourstringdate");
int myDay = myDateTime.Day;
Here i have used Parse method but instead you can use TryParse to make your code with less error probability.
Hope this information helps you,
Thanks
-Amit Gajjar.