Ed
asked on
Show date and no time in textbox
Whats the best way to display the date in a textbox without the time from the db?
Eg
Displays
01/07/2015 00:00:00
and I'd just like
01/07/2015
Thanks
Eg
txtDateCompleted.Text = objDR3("DATECOMPLETED").ToString
Displays
01/07/2015 00:00:00
and I'd just like
01/07/2015
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
try this
txtDateCompleted.Text = objDR3("DATECOMPLETED").To String("MM /dd/yyyy")
txtDateCompleted.Text = objDR3("DATECOMPLETED").To
pls try
txtDateCompleted.Text = objDR3("DATECOMPLETED").To
Regards