Dec 8, 2004 #1 jnavarro Programmer Dec 1, 2003 89 US Having a little problem with formating time in a text box... Attempting to format a time as hh:mm tt in a text box and it won't return a value. txtstart.text=format(txtstart.text,"hh:mm tt") Thanks in advance
Having a little problem with formating time in a text box... Attempting to format a time as hh:mm tt in a text box and it won't return a value. txtstart.text=format(txtstart.text,"hh:mm tt") Thanks in advance
Dec 8, 2004 #2 NoCoolHandle Programmer Apr 10, 2003 2,321 US tee hee... yes been there... that would work great in VB, howeve in VB.Net you probably just returned "hh:mm tt" into txtstart.text.. TxtStart.Text = Strings.Format(CDate(txtStart.Text), "hh:mm:ss") Should work... Upvote 0 Downvote
tee hee... yes been there... that would work great in VB, howeve in VB.Net you probably just returned "hh:mm tt" into txtstart.text.. TxtStart.Text = Strings.Format(CDate(txtStart.Text), "hh:mm:ss") Should work...
Dec 8, 2004 Thread starter #3 jnavarro Programmer Dec 1, 2003 89 US Thanks I have spend hours trying to figure this out. Upvote 0 Downvote