Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
[ FlexSim 23.0.3 ]
I am obtaining a date in string format and converting it to a Datetime. But if it fails, I get an error message. I would prefer to be able to test it first and create a "soft" error message for the user.
DateTime(date_string,"%m-%d-%Y %H:%M"); is what I'm using where "date_string" is the value read in from the table. I want to be able to test if this will be successful without incurring an error message.
Solved! Go to Solution.