Add a NTP server in software

There was a time I failed my TOTP auth, finally I found that my system time is out of date, there should be some kinds of way to check the correction of time and sync it if possible, or warn the users to check it themselves.