Date Time conversion error in a rule

Date Time handling changed between oh2.4 and oh3

Please see examples here: