Is it possible to retrieve the SAP system time into a variable

Hello, I am currently working with SAP and I have to make a time comparison between the system time and the time at which I scheduled a Job, currently I am extracting the system time and comparing that one to the scheduled time I get from a table I extract, with the change of hour the automation stopped working correctly, my question is, is there any way for me to extract the SAP system time so that I can use that one and avoid errors in the future when the time changes again?

@goncalo.rocha

can you please tell how to tried to extract and what failed?

cheers

I have not tried anything yet because i didnt find any SAP activities that from the name might have solved my issue, what i do is a go to a speficic code in SAP and extract a table, from the extracted table i retrieve the highlighted value


and currently I am comparing that time to my system time, but last weekend with the change of the hour the code stopped working because there was an hour mismatch, my question is if it is possible to get SAP system time into a variable at any given time.