ICE Posted December 14, 2003 Posted December 14, 2003 Hi Using the DateTimePicker in VB, how do i get the selected date and put it in a textbox? Also, is there a similar thing like that except you select the time instead of date (similar to windows - where you select or change time in date/time properties). Thanks in advance. :) Quote
*Experts* mutant Posted December 14, 2003 *Experts* Posted December 14, 2003 You can use the Value property of the DateTimePicker to get the selected date/time. TextBox1.Text = DateTimePicker1.Value().ToString() If you want the user to be able to select time, find the format proeprty of the DateTimePicker and set it to time. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.