How to Make a Current Time and Date Program

by TheNerdySmallSmartCoder45 in Circuits > Microsoft

637 Views, 3 Favorites, 0 Comments

How to Make a Current Time and Date Program

Screenshot (24).png

Here Is Some Basic Steps To Make A Clock Program

Open Notepad

Screenshot (13).png

Pres The WIN Button + R At The Same Time And Keep On Doing That Until "Run" Comes Up. Then Type In Notepad

Save It Just in Case

Screenshot (19).png

Saving Before You Type Is A Good Tactic Just In Case A Power Cut/Surge Appears. Name It Whatever You Want But Put .bat At The End Or The Program Won't Work

The Code

Screenshot (23).png

The Code Is Really Simple Just Type In:

@echo off

title Time

:A

echo %time% %date%

timeout 0.000

cls

goto A

Testing

Screenshot (24).png

After You Put The Code In Save It, Then Test It. When You Tested It And It Works. BANG! YOUR DONE! =D