Page 1 of 1

mobilePickDate result format?

Posted: Sun Feb 23, 2020 7:35 pm
by slowmaker
Am I misreading the docs?
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.
Looks to me like this line:
mobilePickDate "date"
should return seconds since epoch in the result, but I keep getting just a short date format.

Code: Select all

mobilePickDate "date"
put the result into tDate
answer tDate  -- I'm getting "2/23/20", here, not the expected seconds since unix epoch
This is on a Galaxy J3 Luna Pro, running android 6.0.1.
Creating standalone and delivering to phone via Test menu item in LC 9.5.0 build 15503.

Re: mobilePickDate result format?

Posted: Sun Feb 23, 2020 7:41 pm
by Klaus
Obviously a known bug since 2013! :(
https://quality.livecode.com/show_bug.cgi?id=11554