3replies
-
I think this is a good idea (to not even give them the option to enter a time) but in case it helps, this can be used in a script to update a label (named Label1) with just the date and no time from a date time picker control (DTP1)
Label1.Text=DTP1.DateTime.ToShortDateString();
I'll warn though that I think it uses UTC so if you are in EDT and would pick May 3rd at 11 PM, the label will be set to May 4th. I thought I had a solution for that but didn't fully get it right off.