How to access system time

how to access system time
good morning everyone,
I need to access/retrieve the system time to use for my timed popup.

Can anyone help me?

Thank you