How to get current datetime on windows command line, in a suitable format for using in a filename?
Answer / Durgesh Joshi
You can use the `date /t` command to get the current date and time in the format: `YYYYMMDD_HHMMSS`.nnFor example:n```cmdndate /t > datetime.txtn```
| Is This Answer Correct ? | 0 Yes | 0 No |
Is windows 7 better than windows 8?
Can I stop a windows update in progress?
How do I force a windows update to stop?
How do I update my windows operating system?
Does windows 7 have system restore?
Do you get microsoft word with windows 10?
What is the windows of a computer?
What is windows host process rundll32 windows 10?
Explain the difference between dual core and core 2duo processor?
If Account lockout or password reset has been done, what is the replication time between domain controllers?
How do I turn off windows troubleshooting?
Can you run android on windows tablet?