Phoebe
10-01-2001, 11:11 PM
For my program, I need to set the .minvalue and .maxvalue property of my dtpicker during run time. (Shift Start and Shift End, actually)
Everything works out fine with the 1st shift. But, with the 2nd shift which begins at 4:00 PM and ends the next day at 7:00 AM, I come across the midnight-hour problem. Then the datepicker control becomes basically useless, only allowing the user to choose either: 4:00 PM or 7:00 AM.
Any ideas or hints that I might use? Thanks
Everything works out fine with the 1st shift. But, with the 2nd shift which begins at 4:00 PM and ends the next day at 7:00 AM, I come across the midnight-hour problem. Then the datepicker control becomes basically useless, only allowing the user to choose either: 4:00 PM or 7:00 AM.
Any ideas or hints that I might use? Thanks