time
Display or set the system time. More information: https://docs.microsoft.com/windows-server/administration/windows-commands/time.
- Display the current system time and prompt to enter a new time (leave empty to keep unchanged):
time
- Display the current system time without prompting for a new time:
time /t