question

Mark S2 avatar image
0 Likes"
Mark S2 asked James Rodgers1 answered

Code to Return Hour of Day

Hi,

In this question (https://answers.flexsim.com/questions/79995/location-availability.html) I found the gethour() code and getsimtime() code...but these do not seem to work in the newest versions.

How can I use the current coding language to return the equivalent of gethour(getsimtime) ?

Thanks!

Mark

FlexSim 21.1.0
codehour
5 |100000

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

1 Answer

·
James Rodgers1 avatar image
0 Likes"
James Rodgers1 answered

Model.dateTime.hour

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.