How stupid I am! In one batch file I need to print the current date and time and I googled for 5 mins to find it out.
So here it is. For the other guys like me. he he.
ECHO Starting stored procedures execution at %date% – %time% >> log_file.log
Happy Coding.
Advertisement
Tags: batch script, current date, current time, dos