Get system date and time

Hello can you please help?
I am looking to get system date and time of a player to set day and night cycle and umg click to match.
Please advise how can I get system time

Also is there away to get system specs? Like cpu, gpu? Thanks!
For the other question, you should try to press function button in game