Mar 20, 2001 #1 Guest_imported New member Joined Jan 1, 1970 Messages 0 How do I go about setting up a date and time in a text box????
Mar 20, 2001 #2 TimLarkin Programmer Joined Mar 8, 2001 Messages 159 Location US I'm not sure what you want here, but... TextBox1.Text = "03/20/2001 8:18 PM" or this formats the date and time it is right now and puts it in the txtbx TextBox1.Text = Format(Now, "mm/dd/yyyy hh:mm AMPM" Upvote 0 Downvote
I'm not sure what you want here, but... TextBox1.Text = "03/20/2001 8:18 PM" or this formats the date and time it is right now and puts it in the txtbx TextBox1.Text = Format(Now, "mm/dd/yyyy hh:mm AMPM"