Rogério Marcos Oliveira Posted September 20, 2018 Report Share Posted September 20, 2018 Hi, I'm a new member of the forum, I'm from Brazil, I need to perform a date comparison and I'm not able to perform the block with RTC to ASCII, transform the dd / mm / yy parameter into a string with MI (Integer Memory), someone already developed something similar, this comparison of dates I want to do in the ladder not in a table. example: I want to compare one date with another to insert the action. type if date A is greater or less than date B then do. If someone can help me. Quote Link to comment Share on other sites More sharing options...
ORSO2001 Posted September 20, 2018 Report Share Posted September 20, 2018 hi Rogero, if you want compare two Strings you can use the specific "String compare" module that return true if the two String are equals; in this module you can select if the check has to include the "key sensitive" function or not...otherwise you have the RTC struct that manage the date and time as UINT8 and UINT16 ...then you can do the same ...use the module "equal" in the "compare" group. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.