I did a small logic that sees if the citizen card date is expired or not. This date is extracted from AS400 terminal.
I built this logic outside the main application and it works fine. But when I implement it does the oposite.
Convert.ToDateTime(strValidadeBISegClienteOutput).ToString > DateNow
2º Cliente | The current date of the Cliente citizen card is: 2030-07-10 the current date is: 2021-08-10
The result is : Invalid Citizen Card→ E Mail sent to the central counter
Any idea in what’s is happening ? any help is appreciated