Is there a way to get time using a Windows command? If not, can the date and time commands output be modified?
For example date in Windows gives the date with / etc. I would like to get an output that has no special characters such as / :
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To get time in the “yyyymmdd” format, try this:
More on:
http://www.sprint.net.au/~terbut/usefulbox/msdoscmds.htm
Also you can do it this way: