Page 1 of 1

addMinutes ... false?

Posted: 04 Jun 2014 13:18
by inReinbek
Hi Martin, I've a Flow with a Script "f=addMinutes(value,438);" (7h18min).
Value is a time based on {triggertime,dateformat,HH:mm} in a dialogue.
The result by starting at 7:00am has to be 2:18pm. (Europ: 14:18)
But the result is 2:06pm. (Europ:14:06)
I've tested it with the form
{f, dateformat, HH:MM}
Is it a bug or have I done a mistake?
Regards inReinbek

Re: addMinutes ... false?

Posted: 04 Jun 2014 14:38
by BoBo

Code: Select all

{f, dateformat, HH:MM}
... is telling us "variable f should contain the current values for Hour:Month".

Code: Select all

{f, dateformat, HH:mm}
while this one would show the current values for Hour:Minute - something you've probably expected :P


Well, I might be wrong :) - Date Format Pattern

That one worked fine for me: addMinute Flow

Re: addMinutes ... false?

Posted: 04 Jun 2014 20:06
by inReinbek
Hi BoBo, thanks a lot ... what a mess I did!

PROBLEM SOLVED!