Hello,
Gives time date_now= "{getDate(),dateformat,hhmmss}";
results in 060137.
Then addMinutes(date_now, 5);
I'd expect result as 060637.
Instead I got: 360137.
What causes the hour to become 36?
Thank You
Husky
Question regarding addMinutes
Moderator: Martin
Question regarding addMinutes
"Basic research is what I'm doing when I don't know what I'm doing"
Re: Question regarding addMinutes
I replicate you script and got it properly, the minutes is added to the minute. Maybe you need debug dialog to check the full value of the date_now, before and after adding.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Question regarding addMinutes
Desmanto,
Thank You for the reply.
I'll try to debug the flow.
Regards'
Husky
Thank You for the reply.
I'll try to debug the flow.
Regards'
Husky
"Basic research is what I'm doing when I don't know what I'm doing"