Flexsim identifies below date and time for order generation as string how to convert below data as date and time.
And also is there a way to convert below time to simulation time using any query in flexsim.
Flexsim identifies below date and time for order generation as string how to convert below data as date and time.
And also is there a way to convert below time to simulation time using any query in flexsim.
To convert a string representation of a date and time you can use the DateTime constructor.
To get the simulation time you can subtract the model start time from that value and then convert that value to your model units. For example:
string timestamp = "03-04-2023 12:16"; DateTime dateTime = DateTime(timestamp, "%m-%d-%Y %H:%M"); DateTime modelTime = dateTime - Model.startDateTime; return modelTime.totalSeconds;
14 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved