i need to create drop downs for times user can choose from (9:AM,
9:00PM, etc).
1. should i add a drop down list of Time types? if so... what type is
this? I just see Date, Calendar and Tomezones to use in those
calendars.
2. i would like to be able to do this
time= dropdown1.getchosen(); //whatever method returns type selected
then do
if(time=9:00AM)
do this;
3.
time1=dropdown1.getchosen();
time2=dropdown2.getchosen();
time1-time2= x hours?. (just return the number of hours(integer) not
an advanced type)
thanx if anyone can provide an API to refer to, or actual code, or
better yet post code to answer each one of those questions :) (option
1 is good enoguh for me).