Hi once again @GIOVAN,   I would suggest to do the calculation in a Calculated Value as it is easier and more secure.   Just add another virtual field (Say Virtual31337), then paste>modify this syntax. You may set the hardcoded dates to DataFields or SELECT STATEMENTS as long as they have a DataType of Date/Time CASE WHEN '[@cbTimestamp]' BETWEEN '03/18/2019 07:00:00' AND '03/18/2019 15:00:00' THEN 'valid' ELSE 'invalid' END   Then for your javascript, paste