hi guys..
i really need guides and helps about this problem..
i've two dropdown list which contain time.. when user select start time in dropdownlist1, the user can not select same value in dropdown list2..the range time from start time in dropdown list1 with end time in dropdown list 2 should minimum 2hours..

For example,
let says i select 8.00AM.. the end time that i should select is 10.00AM.. hopefully somebody can answer my question & can give me some coding about this!!

Regards,
ct

How about just asking if the end time is less than or equal to 2 hours past the start time. If it is so, add 24 hours.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.