question

Abel van der Windt avatar image
1 Like"
Abel van der Windt asked Jason Lightfoot answered

Strange results from the convert function

Hi all,

I am getting pretty strange results back from the convert function. See image below.

I am using the convert function in a user command. I think that both result and result2 should give back the same date as in the table.

Does anyone knows where it goes wrong?

ConvertExample.fsm

FlexSim 21.0.1
flexsim 21.0.1convert
1610614702363.png (18.4 KiB)
convertexample.fsm (42.4 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image Joerg Vogel commented ·

The value of result doesn’t make sense at all. Independently from a time format there aren‘t any 56 days in a month nor 56 months in a year.

1 Like 1 ·

1 Answer

·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered

In the model settings you need to use capital M for the month format. m is minutes.


5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.