Hi FlexSim Support Team,
Could you please let me how I can convert "25-04-2022 16:52" into FlexSim dateTtime formate?
I am trying it to convert using below method,
string TS= "25-04-2022 16:52";
DateTime Value= DateTime(TS, "%d-%m-%Y %I:%M:%S %p");
return Value;
But getting error i.e
exception: Error Constructing DateTime: Value not valid date string.
exception: FlexScript exception: <no path> c: <no path> i: <no path>