I am getting very confused here. I need unit time to pass to openssl. THis works fine on the server as teh time is already UTC. My PC is Brisbane time. But I cant seem to get both working.
Thanks Dave. The problem is that I was trying to use the same code for both the server on UTC and my PC on Brisbane times. And I dont really want to toggle that flag - it just makes the code different. And it would fail if the server timezone changed. I want the OS to sort it out.
I think I know how to fix it now. I was trying to use FCM for Notifications and it fails on one and works on the other. Finally narrowed it down to the time.
For everyone else to laugh - I asked Claude. After it gave me several silly answers, I realised that it’s clock is 27 May 2024. And it insists that my clock is wrong which is why I am getting incorrect results.