Hello Andreas - Gothenburg,
Thanks for the post in Apple Support Communities. I understand you're seeing a message about your system clock.
The alert you showed looks to be from a third-party app; which app is that? Are you seeing similar alerts in other apps as well?
Which exact macOS Mojave version are you using under Apple menu () > About This Mac?
I understand you've made sure the time is set correctly; are you using a custom format? Also, do you have your date and time set to update automatically? I recommend checking out this resource to verify both: If the date or time is wrong on your Mac
If that doesn't clear things up, there are two tests you might try next that will help to narrow things down.
First, try booting your Mac into safe mode and test it out; this will help rule out some potential software causes: Use safe mode to isolate issues with your Mac. Once you test, click Apple menu () > Restart to get back to normal. Then, try these steps to create a temporary administrator account to see if you can replicate the issue there also: How to test an issue in another user account on your Mac
Feel free to reply back here with the results of the tests, and the community may be able to assist further.
Cheers!