Search found 1 match

by would
20 Mar 2009 04:07
Forum: DOS Batch Forum
Topic: How to extract Day of Week
Replies: 6
Views: 28121

Thanks for the info. Much more elaborate than the simple approach I ended up taking: set day=%DATE:~0,3% IF %day% == Mon set dayofweek=Monday IF %day% == Tue set dayofweek=Tuesday IF %day% == Wed set dayofweek=Wednesday IF %day% == Thu set dayofweek=Thursday IF %day% == Fri set dayofweek=Friday IF ...