PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → Timesys() not working on Galaxy S4
Timesys() not working on Galaxy S4
Débuté par Homero Montemayor, 01 mai 2014 16:41 - Aucune réponse
Posté le 01 mai 2014 - 16:41
Hello fellow programmers, I am writing an app that shows a table (filled with a looper) of orders in transit. The user will select the orders as they arrive to put the date and time received and I am trying to populate the system hour and date so that they don't have to enter them, just verify them and click OK to make the update.
When the user selects the order in the table I open a child window, in the code of that window, in the global declarations I have the following code:
If edt_arrivaldate="" then edt_arrivaldate=datesys()
if edt_arrivaltime="" then edt_arrivaltime=timesys()

The application works well on the computer using the simulator, but when deployed to the Galaxy only the date works, the time populates zeroes.

I already try changing the format time in the Galaxy to 24 hrs but still does the same, any ideas?

Thanks in advance,

Homero.