for (int i = 1; i <= 12; i++)
{
DateTime date = new DateTime(1,i,1);
DateTime
DropDownDOBMonth.Items.Add(date.ToString(“MMM”));
DropDownDOBMonth.Items.Add(date.ToString(
}
More date formats.
« Random number function Simple Javascript CAPTCHA »
Name (required)
E-mail (will not be published) (required)
Website
Notify me of follow-up comments via email.