Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Today's date

Status
Not open for further replies.

21091958

Programmer
Aug 21, 2005
20
GB
A tricky one
I have aform asking customers to input their date of birth, to do so i use 2 numericupdown controls, 1 for the day of the month (1 to 31) and 1 for the years. I use a domainupdown control for the month (January to December), then the code calculate the age of the person, everything works fine.
But i would like the control to display the date of the day before the customer scroll down, this automatically every day
Any ideas???
 
I have used dudmonth.SelectedIndex = Now.Month - 1

it works great thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top