DateTimePicker .... AAAARGH

tomos2

Newcomer
Joined
Apr 15, 2005
Messages
9
Location
Peterborough UK
So I'm writing a program which requires a date to be input. DateTimePicker is fine for this but the program also requires a day to be input. Is there a way to auto-fill a textbox with the day corresponding to the date selected rather than the infinate

if datetimepicker1.text = 15/04/2005 then textbox1.text = Friday
if datetimepicker1.text = 16/04/2005 then textbox1.text = Saturday

you get my point!

Thanks guys,

Tom
 
Back
Top