How to get PC time without RTC?

Hello
Can I get the PC time without the RTC?
and if not how can I do this with the RTC?
I tried many codes from the internet but no one work to me
Thanks
Its on arduino UNO

This implies you are connected to the PC. So what is that you are actually trying to do?

You will need to run something on the PC to send the time to the Arduino