addMinutes ... false?

Post your questions and help other users.

Moderator: Martin

Post Reply
inReinbek
Posts: 95
Joined: 02 Feb 2013 22:04

addMinutes ... false?

Post by inReinbek » 04 Jun 2014 13:18

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

BoBo
Posts: 129
Joined: 05 May 2014 12:45

Re: addMinutes ... false?

Post by BoBo » 04 Jun 2014 14:38

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
Last edited by BoBo on 15 Jul 2014 10:20, edited 2 times in total.

inReinbek
Posts: 95
Joined: 02 Feb 2013 22:04

Re: addMinutes ... false?

Post by inReinbek » 04 Jun 2014 20:06

Hi BoBo, thanks a lot ... what a mess I did!

PROBLEM SOLVED!

Post Reply