Date, Time & Execution Timing in CMD
Use date/time and pauses in developer automation scripts:
- π `date /t` β Get today's date (non-interactive)
- β° `time /t` β Get current time (non-interactive)
- βΈοΈ `timeout /t N` β Pause N seconds before next command
- π `pause` β Pause and wait for any key press
Timestamped Logging Script:
```cmd
echo [%date% %time%] Deploy started >> deploy.log
npm run deploy:prod
echo [%date% %time%] Deploy complete >> deploy.log
`
Add automatic timestamps to every deployment log entry! π
