Page 1 of 1

Question regarding addMinutes

Posted: 07 Aug 2017 23:33
by husky
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

Re: Question regarding addMinutes

Posted: 08 Aug 2017 06:17
by Desmanto
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.

Re: Question regarding addMinutes

Posted: 10 Aug 2017 02:42
by husky
Desmanto,

Thank You for the reply.

I'll try to debug the flow.


Regards'

Husky