Jump to content

23/5000 I need to compare dates

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...