Changing Date format in a Batch file
Solved/Closed
Mr.Peepers
-
Mar 9, 2010 at 07:51 PM
Richard.Williams Posts 25 Registration date Saturday November 7, 2009 Status Member Last seen July 18, 2012 - Mar 11, 2010 at 09:14 AM
Richard.Williams Posts 25 Registration date Saturday November 7, 2009 Status Member Last seen July 18, 2012 - Mar 11, 2010 at 09:14 AM
Related:
- Change date format in batch script
- How to change date format in excel - Guide
- Format factory - Download - Other
- Change computer name cmd - Guide
- How to change time format in whatsapp - Guide
- How to change language in kmplayer - Guide
1 response
Richard.Williams
Posts
25
Registration date
Saturday November 7, 2009
Status
Member
Last seen
July 18, 2012
14
Mar 11, 2010 at 09:14 AM
Mar 11, 2010 at 09:14 AM
You can use this biterscripting batch script.
dow=day of week.
var str time, dow, date, month, year set $time = gettime() set $dow = getdow() set $date = chex -p "[7" $time ; set $date = chex -p "2]" $date set $month = chex -p "[5" $time ; set $month = chex -p "2]" $month set $year = chex -p "[1" $time ; set $year = chex -p "4]" $year echo $dow " " $date " " $month " " $year
dow=day of week.