Batch Script - TIME


Advertisements


This batch command sets or displays the time.

Syntax

TIME

Example

@echo off 
echo %TIME%

Output

The current system time will be displayed. For example,

22:06:52.87

batch_script_commands.htm

Advertisements