In a Windows Windows XP batch script I need to format the current date and time for later use in files names, etc. It is similar to Stack Overflow question How to. Tech and Science topics phones, computers, gadgets, and the Internet, astronomy earth science, climate weather, environment green living and much more.