- Joined
- Aug 2, 2017
- Messages
- 2
- Reaction score
- 1
Hi all!
Before I ask my question I just want to let everyone know that this site has been a great help.
So, I have a TextBox that needs to accept a date and time. Simple enough. However, the data that I need to collect has to always have a date and time but when I use General Date it will accept either Date or Time or both as its designed to do so.
I have tried setting
Format as " m/d/yyyy h:nn:ss ampm "
Input Mask as " 90/90/0000\ 99:00:00\ >LL;0;_ "
and tinkered with me.textbox.format() as an if statment
But this leads to the other issue that most of this data will be pasted into the form in either of the below formats.
7/19/2017 12:08:14 PM
Wednesday, July 19, 2017 12:08:14 PM
I'm stumped and haven't been able to figure this out through research or my own luck.
Any help is appreciated and thank you all.
Before I ask my question I just want to let everyone know that this site has been a great help.
So, I have a TextBox that needs to accept a date and time. Simple enough. However, the data that I need to collect has to always have a date and time but when I use General Date it will accept either Date or Time or both as its designed to do so.
I have tried setting
Format as " m/d/yyyy h:nn:ss ampm "
Input Mask as " 90/90/0000\ 99:00:00\ >LL;0;_ "
and tinkered with me.textbox.format() as an if statment
But this leads to the other issue that most of this data will be pasted into the form in either of the below formats.
7/19/2017 12:08:14 PM
Wednesday, July 19, 2017 12:08:14 PM
I'm stumped and haven't been able to figure this out through research or my own luck.
Any help is appreciated and thank you all.