HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

time — Display or set the system time. More information: <https://learn.microsoft.com/windows-server/admini

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandclitimesetdisplaysystem
windows

Problem

How to use the time command: Display or set the system time. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/time>.

Solution

time — Display or set the system time. More information: <https://learn.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

Code Snippets

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

Context

tldr-pages: windows/time

Revisions (0)

No revisions yet.