Skip to main content

I'd like compare a value of date time type which converted to Text type with a Text value (saving the value of the date time type).


I am Not understand why we can Not do a equal comparison. The result is always false.

Hi


 


A comparison between Date/Time data type and Text data type cannot be compared as they are two different data types. When comparing or using two different data types, they first have to be converted to the same data type.


 


I looked at this and dound that It is possible to compare a Date/Time data type that has been converted to Text with a Text Value and then saving the Date/Time value.  Please see my steps and screenshot on how to configure Item View to do this:


 


1. Create smartobject with Pre-set value that has to be compared with.


16888i416EA774D56E16CA.png


2. Create a smartobject with Date/Time input value (or you can work with a manual Date/Time input).


14617iF6DBCCA2C8C4073D.png


3. Generate a Item View.


12890i2D481BC6F0070D9E.png


4. Add a text box and create a expression for it.


15425i083705210828D156.png


5. Adjust the save button's rule.


14816iD619D64CBC76DE7D.png


 15575iF88395D71C847D93.png


12424iB0E0BA9366626949.png


 


11730iE1675268AC1F17E1.png


 


12127iC127456F5C181FDD.png


 


Kind Regards


 


 


 


Reply