Error - argument to Makeinstant should have

I would use the methods from the clock component

Taifun

1 Like

Where is this not supported?

1 Like

The error message came from the MakeInstant method

Taifun

1 Like

Hmm, means? What about my blocks?

1 Like

Your blocks are correct
To get the error message, do this


EDIT: This 10:00 would work, try a time in hh:mm:ss to get the error, for example 10:00:00

MakeInstant(from)

Returns an instant in time specified by MM/dd/YYYY hh:mm:ss or MM/dd/YYYY or hh:mm.

Taifun

1 Like

Keine Ahnung, wovon hier die Rede ist. :upside_down_face:

1 Like

The only thing that must not be changed are the slashes (/) in the date.
MM/dd/yyyy or M/d/y etc works, but not MM-dd/yyyy

or: MM/dd/yyyy hh:mm:ss a or MM/dd/yyyy HH:mm:ss a or MM/dd/yyyy HH:mm:ss or HH:mm:ss
... because these also work.

1 Like

You might want to suggest a more user friendly error message

Taifun

1 Like

Thank you to all of you guys
I am so grateful your suggestions and guidelines that you all mentioned above

I will modify some blocks accordingly and see

:pray: :+1:

update
I've changed the date to MM/dd/YYYY
and the time format to HH:mm:ss

it seems working fine

:clap: :clap: :clap:

1 Like

Exactly, that's what I'm talking about all the time.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.