Search found 2 matches

by Deana
15 Sep 2010 08:35
Forum: DOS Batch Forum
Topic: Batch variable containing date mmddyyyy to convert to yymmdd
Replies: 4
Views: 6983

Batch variable containing date mmddyyyy to convert to yymmdd

Hello! I have a long batch file that calculates a specific date based on user input, however, the variable echoed at the end contains mmddyyyy as format. This is NOT the sysdate. I need to convert this into yymmdd format and echo it. Variable gets the date by echo %mm%/%dd%/%yyyy% but of course chan...