I still do the occasional batch file solution for tasks, and sometimes I need to get the current date and time on the system for processing. Since I just had to research this again for another little project, I decided it was high time to blog it.

Batch files can use the system variables %DATE% and %TIME% to get the current date and time of the system. These variables return data in the following format:
Read the rest of this entry »