GeneralSet date and time in batch file Posted on 04/08/201118/11/2026 by [email protected] 04 Aug You can use this in batch files for tagging the data and time SET date=%DATE% SET day=%date:~0,3% ECHO %day% Please leave this field emptyPractical IT tips, straight to your inbox Microsoft 365 updates, security alerts and plain-English tech advice for small businesses, emailed when we publish a new article. We don’t spam! Read our privacy policy for more info. Check your inbox or spam folder to confirm your subscription. Execute a command on a file or set of files Remove Skype quality pop up questionnaire at the end of call