LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

expiration date tracking

Solved!
Go to solution

I am trying to keep track of the expiration dates on various products and alert the user when an item has reached and/or passed the expiration date. So I want to allow the user to enter an expiration date for a product(mm/dd/yyyy) and then compare this to the current date (mm/dd/yyyy). I have been trying to come up with the logic that would work correctly and I am having some trouble getting a setup that works for every possible date. Does anyone know how to do this comparison correctly in LabVIEW?

 

 

0 Kudos
Message 1 of 3
(3,261 Views)
Solution
Accepted by RyanB87

Hi Ryan,

 

what about this little gem:

Expired.png

Is this enough logic for you? Smiley Wink

 

What exactly do you mean by "every possible date"?

Message Edited by GerdW on 03-07-2010 07:06 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(3,243 Views)

Thank you very much. It's kind of embarrassing how simple that was. My problem seems to be recognizing all of the features LabVIEW has.

 

 

By all possible dates, I was trying to get into the realm of comparing the month,day, and year all serparately, so I was trying to come up with boolean logic in order to make it work. 

 

 

But, this works very well. Thanks.

0 Kudos
Message 3 of 3
(3,234 Views)