iphone - Get timer time from UIDatePicker? -


how time entered uidatepicker?

i have button press, , have ibaction, code data?

i time entered on timer, instead of starting timer.

oh yeah, , date picker timer, not date.

you have uidatepicker datepickermode set uidatepickermodecountdowntimer?

to selected value, use:

nstimeinterval duration = datepickerview.countdownduration; int hours = (int)(duration/3600.0f); int minutes = ((int)duration - (hours * 3600))/60; 

Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -