Home How to make Digital Clock using Command Prompt. Hi Guys today we are building a Digital Clock On cmdStep1) Copy This Code @echo off Title Clock @mode con cols=35 lines=7 color 0f :main cls echo. echo Time: %time% echo. echo Date: %date% echo. ping -n 2 0.0.0.0 >nul goto main Step2) After that paste the code on NotepadStep3) Save the File.Save the File as- .batFor Ex- Clock.batClick here to download the code- Facebook Twitter