Here's a snippet of code:
Code: Select all
on mouseUp
mobilePickDate "time",,,,,"cancelDone"
put the result into tSetTime
if tSetTime <> "cancel" then
answer tSetTime
end if
end mouseUp
"The selected date, time or date and time are returned in the result. The value is in seconds since the UNIX Epoch.
If the picker is cancelled then cancel is returned in the result."
For me, neither of these seems to be true.
If I select a time of 14:19 and tap Done, then that is what I see in the Answer box. "14:19". Not a value in seconds. That I can live with.
But if I tap Cancel, I get a time of "07:30" showing in the answer box. I never get "cancel" and I never get any other time.
This is rather more serious. But both anomolies are confusing.
I have to think I'm doing something wrong, but I've no idea what. Can someone advise me plz...
--paul