Introduction: Live Clock in Batch/CMD

How to create a live clock! Just in Windows Batch

Supplies

Any Windows OS that has CMD

Work for code

Step 1: Code

Just code:


@echo off

:liveclock

title Live Clock

color 0A

cls

echo Date: %date%, time: %time%

ping /n 2 localhost >nul

goto liveclock


I have the source code ready for download!

Just click on Live Clock Source Code.txt file to download!

Step 2: Save

Save as Live Clock.bat

Or you can download the source code and rename to Live Clock Source Code.bat

Step 3: Execute

Double-click the file to execute

It shows the date and time forever utill I exit!

Step 4: Done

Done!! I created a live clock in Windows Batch!!!